Using JQuery to retrieve elements outside of IFrame
Let's say you have a AJAX-enabled Dialog box and you used IFrame to load a page (php / aspx) . Retrieving any element outside of this page requires asking JQuery to go out of its scope.
You can use the following code to retrieve element outside of your IFrame.
$("#myDiv", top.window)
Comments