I have a html table with some buttons and then I have some javascript and jquery to dynacially update the table when a button is pushed. It works all of the time when I have the IE debugger open. I don't even have to have any breakpoints set. But when I do NOT have the debugger open the dynamic does not always work. I tried updating the table using jquery and just javascript and both behave the same. Please help this is very very weird
Here are my calls from javasript :
var tableRow = "<tr><td>" + id + "</td> <td>"+description+</td></tr>"
$('#selectableTable').append(tableRow);
or
var table = document.getElementById("selectableTable");
var row = table.insertRow(0);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
cell1.innerHTML = id;
cell2.innerHTML = entity;
cell3.innerHTML = description;
Aucun commentaire:
Enregistrer un commentaire