How to use the jquery .load() function to return the innerHTML of an element

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-04-07T21:54:50Z Indexed on 2010/04/07 22:23 UTC
Read the original article Hit count: 162

Filed under:
|

JQuery

Assume this works: $('table td').load('/my/url/ div p');

I would end up with <td><p>Some Text</p></td>

I want to end up with <td>Some Text</td>

How would I do that?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about load