How to write in jquery “window.parent.document.getElementById().innerHTML”

For example we want get this

window.parent.document.getElementById("myEle").innerHTML = html;

In Jquery, we can write like this:

$("#myEle", window.parent.document).html(html);

or we can also write in this way:

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

No Responses to “How to write in jquery “window.parent.document.getElementById().innerHTML””

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>