Hi I was trying to add a row to a table using jQuery, but it is not working. What might be the reason?
And, can I put in some value to the newly added row..?
You should append to the table and not the rows.
<script type="text/javascript"> $('a').click(function() { $('#myTable').append('<tr class="child"><td>blahblah<\/td></tr>'); }); </script>