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

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm