$(function() { $("#dialog").dialog( { autoOpen: false } ); $("#dialog").dialog( "option", "width", 860 ); });