I think, it's very simple to do, but i don't know how ?!
i've got a html page which contains :
<div id="myDiv">
<hr />
<hr />
<hr />
<hr />
</div>
And in a javascript (client side), i want to access to the dom model of the
div :
i wan't to be able to use selectnodes on "myDiv" :
be able to do something like that :
var myDiv = document.GetEle mentById("myDiv ");
var xmlDoc = myDiv.implement ation ; // to obtain dom of mydiv ?!
var nodeList = xmlDoc.selectNo des("hr") ;
is it possible with "microsoft internet explorer" ? (it works on gecko based
browsers)
i've got a html page which contains :
<div id="myDiv">
<hr />
<hr />
<hr />
<hr />
</div>
And in a javascript (client side), i want to access to the dom model of the
div :
i wan't to be able to use selectnodes on "myDiv" :
be able to do something like that :
var myDiv = document.GetEle mentById("myDiv ");
var xmlDoc = myDiv.implement ation ; // to obtain dom of mydiv ?!
var nodeList = xmlDoc.selectNo des("hr") ;
is it possible with "microsoft internet explorer" ? (it works on gecko based
browsers)
Comment