jquery - How to select div in parent page from an iframe -


I want to select a div that is in an aspx page that is called in an iframe. I have tried

$ (parent.document.getElementById ('dwwdgloader2')). Hide ();

But it works only in IE but not in other browsers? How to solve this problem?

I have detected that if they are, then iframe can not access the original page elements from the page on different domains This is the reason Firefox is showing firebug

property '$' for permission

Comments