Lets say i have the following code:
<p>
hello, how are you today, <a href="sfdjo.php">John</a>?
</p>
Is there a way to retrieve all of the text inside so that i have a string that reads:
'hello, how are you today, <a href="sfdjo.php">John</a>?'
Thanks for any help
Yes. Assuming you outer container had an ID or class name that you can reference, then this is simple using html() method like this: