Utku Dalmaz Utku Dalmaz -3 years ago 93
Ajax Question

how to load a page with jquery ui dialog

is that possible to load another page with jquery ui dialog ?

Like Dialog + Ajax

Thanks

Answer Source

If you want to load content into a dialog using Ajax, you can easily use $.load:

// initialize dialog
var dialog1 = $("#dialog").dialog({ autoOpen: false,
  height: 600,
  width: 350
});

// load content and open dialog
dialog1.load('path/to/otherPage').dialog('open');

Check an example here.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download