Reputation: 701
I use <iframe>
within another page.
How can I give effects to the controls of first HTML page id's or classes, while accessing it from a second page?
Upvotes: 2
Views: 168
Reputation: 5272
use
$("#myid", top.document);
or
$("#myid", parent.document.body);
Upvotes: 1