次のコードのようなラジオボタンリストがありますupdate panel
:
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="233px"
ClientIDMode="Static" AutoPostBack="true"
onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
</asp:RadioButtonList>
ユーザーがこのラジオ ボタンの任意の項目をクリックすると、ラジオ ボタンのPlease Wait...
テキストではなくテキストが表示されます。次のコードを記述します。
function pageLoad() {
$(document).ready(function () {
$('#RadioButtonList1').on("change", function () {
$("#RadioButtonList1 input:checked").val("Please Wait...");
});
});
}
しかし、それは動作しません.私の間違いはどこですか?
ありがとう