I\'ve been using Simple Modal and i feel it doesn\'t live up to what i need at the moment.
Is there a Modal Box that supports loading external files and allows those
Below is a basic dialog interaction loading content into an iFrame and then closing the dialog from the iFrame.
Note that to illustrate this I have two code snippets. The first is labeled file1.html. The second you should name "myPage.html" if you want it to work and place it in the same directory as the first file.
Note that the call to close the dialog could be used in other ways depending on your desired functionality. For example another example could be on successful form submission.
Create the files locally on your system and open file1.html and try it out.
file1.html
Go to My Page
myPage.html
Click to close.