[jQuery] how to get div content with frame?
Hi guys,
i have a frame;
- myframe.html
- main.html
- top.html
in top.html i have a div;
<div id="myDiv">my teste work!</div>
and in main.html i try to get a div content of top.html using;
alert($('#topFrame').contents().find('#myDiv').html());
but i only got null return...
anybody knows how i can get a div content with another frame?
thanks :)