Skip to content

Instantly share code, notes, and snippets.

@ryancurtin
Created November 17, 2012 00:31
Show Gist options
  • Save ryancurtin/4092180 to your computer and use it in GitHub Desktop.
Save ryancurtin/4092180 to your computer and use it in GitHub Desktop.
blahblahblah
$(document).ready(function() {
var url = 'http://google.com';
var dialog_form = $('<div id="dialog-form">Loading form...</div>').dialog({
autoOpen: false,
width: 520,
modal: true,
open: function() {
return $(this).load(url + ' #content');
},
close: function() {
$('#dialog-form').remove();
}
});
dialog_form.dialog('open');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment