I'm searching a way to create a td by object methode and not by creating a html element that tranform in object
So I'm searching a way to make some thing like my_td = $('td'); my_td = new $('td');
Actualy when I do this all my td are modified by that one what I'm trying to do:
tab += '<tr>';
tab += '<td>'+Id+'</td>';
tab += '</tr>';
what I wouldlike to do is some thing like
tab.('tr').('td').text(ID);
Is there anyway? Thanks
Try using a
self-closed
element like belowhttps://api.jquery.com/jQuery/#jQuery2