$(document).ready(function() { $(\"#create-user\").button().click(function() { $(\"#dialog-form\").load(\'test.html\').dialog({ modal:true, });
have this code.