KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
imagine what we have something like this: <div id="xxx"><p>Hello World</p></div> if we call .html function in this way: $("#xxx").html(); we will get: <p>Hello World</p> But i need to get: <div id="xxx"><p>Hello World</p></div> So, what i need to do? I think to add another wrapper around #xxx, but this is not a good idea.
Tags (comma-separated)
Save Edits
Cancel