Hi,
I have a variable (data) with html content.
I need only get the innerHTML(?) from one element in content. The
element is a div with id.
Sample:
<html><body><table><tr><td><div>...</div><div id="myDiv">more html
here</div></td></tr></table></body></html>

I try create a element with the variable content but this dont work...

In HTML/javascript I do:
var myObj = document.createElement("div");
myObj.innerHTML = data;
var myDiv = myObj.getElementById("myDiv");

How make this in jQuery?

tks
Cristiano

Reply via email to