I'm calling a jQueryUI Dialog inside the iframe which looks like this:

But i need the dialog outside the iframe (like window.parent ----> open dialog or something like that).
First, you need to initialize the dialog in the parent with autoOpen set to false if thats the case.
$("#dialog").dialog({ autoOpen: false });
After you can open it from the iframe by adding parent. before the expression:
parent.$("#dialog").dialog("open");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With