Skip to content
Advertisement

How can I get the value from a cell in a table?

I have read all the related posts and used them with no success. Obviously I’m not a javascript expert. I had tried with option, and selectedItem, but don’t know how to extract the select object to use it.

This is a fraction of my code, I hope you can help me.

JavaScript

Javascript at the end of file

//Agrega o elimina renglones, partidas de la cotización

JavaScript

Advertisement

Answer

I see you are already using JQuery function in the code, and as far as Laravel use that as well you can manage this with JQuery. I did some changes so it should work as desired. Here is the example:

JavaScript
JavaScript

Hope it will help you understand the concept.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement