内部にネストされたフォームを持つjQueryダイアログがあります。フォームには、入力ボックスと送信ボタンが含まれています。ダイアログがポップアップしたとき、ユーザーはそれを入力することしかできず、ページには他に何も入力できないようにします。そのための私のCSSはここで行われます:
.ui-widget-overlay
{
height: 1339px !important;
width: 595px !important;
}
これは、ユーザーがページ上で他に何もできないようにするために機能しますが、問題は、入力フィールドも無効になっていることです。
助言がありますか?
編集:これが私がダイアログを作る方法です
function dialog(left, top) {
//Creates a new dialog
$('#dialog').dialog({
position: [left, top],
height: 90,
width: 200,
resizable: false,
modal: true,
title: '<span class="ui-icon ui-icon-home"></span> Enter Info',
});
}
ダイアログに使用するフォームは次のとおりです。
<!-- Store Location Dialog -->
<div id = "dialog">
<form id = "info" method = "post" action = "Default.aspx" \>
<input type = "text" id = "changeDialogText" name = "changeLocation" /> <!-- THIS IS DISABLED -->
<input type = "button" id = "changeDialogSubmit" value = "" onclick = "function()"/>
</form>
</div>