Forum Moderators: open
<table id="sa-table-2">
<tbody>
</tbody>
</table>
'<tr id="'+id+'"><td><select name="wi-PLID" class="wi-PLID"></select></td></tr>'// get all work order items.
for(i = 0; i < response.records; i++){
row = response.rows[i]; // row is cell array shortcut.
var id = row["cell"]["0"];
// append the select element row to the tbody.
$('#sa-table-2 tbody').append('tr#'+id+' select[name="wi-PLID"]');
$('tr#'+id+' select[name="wi-PLID"]').load('php/script.php', data, function(data){$().html(data.replace( blah blah blah ));});
}