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..?
The following code works
test
test
Note this will work as of jQuery 1.4 even if the table includes a jQuery since version 1.4(?) automatically detects if the element you are trying to insert (using any of the append(), prepend(), before(), or after() methods) is a element:
and inserts it into the first in your table or wraps it into a new if one doesn't exist.