如何设置 jquery ui 对话框的位置。当我在表单中单击完成时,对话框的位置位于页面顶部..
这是我如何调用对话框:
<div id="dialog" style="display: none;">
<h1>Transaction successful!</h1>
<br />
<h3>Thank you.</h3>
</div>
ScriptManager.RegisterStartupScript(this, this.GetType(), "showmessage", "jQuery('#dialog').dialog({ dialogClass: 'no-close', title: 'Registration Successful', autoOpen: true, height: 300, width: 600, modal: true, draggable: true, resizable: false, buttons: { Ok: function () { window.location.replace('Login.aspx'); } } }); ", true);
请帮忙...