Web Developer Tutorial

Example of JQuery UI Dialog With Dynamically Loading an URL with an IFRAME

The jQuery UI dialog is easy to get started with but has a few areas that causes new users some trouble. One of the most commonly asked questions on the jquery-ui list is “how to load iframe (other webpage) in dialog?” In this article I’ll explain how to load Dynamically URL with an IFRAME in Query UI Dialog.Demo

I was doing something like this, the issue I am getting is (and I also found on your demo page) is:

If any link is clicked in the pop-up page, it opens the resulting page within pop-up itself. What I am looking for is to have the links in the pop-up page (i.e. in iFrame dialog) to open in the main window? any idea?

question , how do i get it to load into a div automatically , instead of using an click or href?
basicly i want to stick 3 divs on the screen , and when the page comes up , the urls have automatically been loaded

Hi, I was trying to use the tutorial and code as you have provided. It does not function correctly on my localhost run.
1. Should the url being loaded belong to the same domain? (I am trying to load google.com, does not work)
2. I tried running it on W3 Schools Tryit Editor and it does not load your blog correctly. (http://www.w3schools.com/js/tryit.asp?filename=tryjs_write) Any reasons?