jquery get dom outside of browser code example Example: get an element from outside of iframe jquery $('#test1', parent.document).html('<h1>clicked</h1>');