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:

parent.$("#myEle").html(html);
affiliate_link
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):
Website:
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>