私は 2 つの jquery ポップアップを含む ASPX ページを作成しました。このポップアップにはそれぞれ、サーバー側のボタンのペアがあります。問題は、これらのボタンを押しても起動しないことです。私はそれがjQueryポップアップの問題であることを知っています..どうすればこれを解決できますか?
編集:コードに従ってください
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
$(document).ready(function () {
var dlgSuggestSol = $('div#dlgSuggestSolution').dialog({ autoOpen: false, modal:true, width:640, height:480 })
$('#btnOpenSuggestSolution').click(function () { $('div#dlgSuggestSolution').dialog('open'); });
var dlgWaitSol = $('div#dlgWaitingSolution').dialog({ autoOpen: false, modal: true, width: 640, height: 480 })
$('#btnReadSolutionAwaiting').click(function () { $('div#dlgWaitingSolution').dialog('open'); });
})
</script>
... ... ...
<div id="dlgSuggestSolution">
<h3>Proponi la tua soluzione</h3>
<br />
<asp:TextBox runat="server" ID="txtNewSolution" TextMode="MultiLine" Width="480px" Height="300px"></asp:TextBox>
<br />
<asp:Button runat="server" ID="btnSaveSolution" Text="Salva soluzione" />
<asp:Button runat="server" id="aBUtton" Text="jjkkj" />
<asp:Label runat="server" ID="lblMsg">
</asp:Label>
</div>