I want to select a div which is in parent aspx page from a page which is called in an iframe. What i have tried is
$(parent.document.getElementById('dvwdgloader2')).hide();
but it only works in IE but not in other browser? how to solve this issue?
Furthermore iframe page is running on different port can this be the issue as firebug is showing
Permission denied to access property ‘$’
I have figured it out that you cannot access parent page elements from an iframe page if they are running on different domains. That’s why firefox firebug is showing