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