JQuery html function on a td

Posted by Abs on Stack Overflow See other posts from Stack Overflow or by Abs
Published on 2010-06-09T16:26:04Z Indexed on 2010/06/09 16:32 UTC
Read the original article Hit count: 88

Filed under:
|

Hello all,

I am trying to place some html within a td that has an id but this doesn't seem to work. Can JQuery not put html in a td by using its id as a selector??

I do this:

$('#total_match').html("<b>Test</b>");

Here is the td:

<td id="total_match"></td>

No errors occur and nothing appears in the TD - I view the source to confirm.

I appreciate any help.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery