Loop to access multiple combo box values in every row.

Loop to access multiple combo box values in every row.

hammerheadhammerhead Posts: 1Questions: 0Answers: 0
edited February 2014 in General
I have two datatables, one is populated with a lot of items, the user can select items, and they will be added to the second table, which has additional columns containing combo boxes. When the user clicks "Save", I want to process their selections. I imagine this will involve looping though the table row by row, getting the values from the combo boxes and doing what I need to do with them.

I'm sure this is trivially simple, but for the life of me I cannot figure out how to access those values.

I can't link to the webpage, it's only on my computer right now, since it accesses a database that I can't risk exposing.

But here's an example of what I've been trying.

var cells = [];
var rows = $("#tblUserSelection").dataTable().fnGetNodes();
for(var i=0;i
This discussion has been closed.