is it possible to read contents of a div from another html using jquery?
<p>im trying to read the contents of myDiv which resides in a separate html file and do some appending in the current page,is this possible? i know there is load(), but it displays the whole html as it is.</p>

<pre><code>$( ".myDiv" ).each(function(){

//do stuff

});
</code></pre>

<p>i have tried $('#result').load('ajax/test.html #container') route, but it loads the contents from #container in to the div with id #result.i want to read the contents of the div with id #container from ajax/test.html,make some changes then display it in the div with id #result... im trying to use the each function on a div that resides on another page,hope im making some sense</p>
