0
How to go through a table with N lines and find the specific values of each Dropdownlist ?
I tried with the code below, but without success.
function ValidarStatusGrid() {
var temp, td;
var table = $("tbPedidos");
var status = $("#sclStatusGrid");
temp = document.getElementById('tbPedidos').getElementsByTagName('tr');
for (var i = 0; i < temp.length + 1; i++) {
td += temp[i];
}
}
Can’t you put some classes in this dropdown? Then you wouldn’t have to go through the table.
– bfavaretto
@bfavaretto does not think so, depending on the status that is in the dropdown will disable the same or perform another operation. And everything has to be done on the client’s side
– Igor Carreiro
Well, I think the answer below solves well.
– bfavaretto