HI! I have a table, generated dynamic in jquery populated with data from a recordset. With a function I want to modify some cells from this table. How can I do that...? Thank you!
modify cell content in dynamic table
Page 1 of 11 Replies - 1538 Views - Last Post: 19 July 2010 - 10:09 AM
#1 Guest_braveheartvd*
modify cell content in dynamic table
Posted 19 July 2010 - 09:54 AM
Replies To: modify cell content in dynamic table
#2 Guest_braveheartvd*
Re: modify cell content in dynamic table
Posted 19 July 2010 - 10:09 AM
braveheartvd, on 19 July 2010 - 08:54 AM, said:
HI! I have a table, generated dynamic in jquery populated with data from a recordset. With a function I want to modify some cells from this table. How can I do that...? Thank you!
some code , maybe it helps:
....
for (i = 0; i < nrInreg; i++) {
$("<tr>").append('<table id="bod'+ i +'" width="100%" border="1">'+ headerTura +
'<tr class="planifVtabel">' +
'<td class="celulaCO" style="width:70px;">' + ptAfisare.data[i].Cod +'</td>'+
'<td style="width:170px; text-align:left;">' + ' ' + ptAfisare.data[i].Nume + ' ' + ptAfisare.data[i].Initiala + '. ' + ptAfisare.data[i].Prenume +
'</td>' +
'<td class="celulaCO" style="width:40px;">' + Zstart[11] + Zstop[11] +'</td>' +
'</tr></table></tr>').appendTo("#listaMea");
}
....
I want a function to modify some <td> like putting new Zstart[11] and Zstop[11], in the same cell.
Page 1 of 1

New Topic/Question
Reply
MultiQuote

|