總結JavaScript的正則與其他語言的不同之處
來源:易賢網 閱讀:1482 次 日期:2016-08-30 14:20:23
溫馨提示:易賢網小編為您整理了“總結JavaScript的正則與其他語言的不同之處”,方便廣大網友查閱!

下面小編就為大家?guī)硪黄猨s判斷radiobuttonlist的選中值顯示/隱藏其它模塊的實現(xiàn)方法。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。

js判斷radiobuttonlist的選中值顯示/隱藏其它模塊的實現(xiàn)方法:

<script>

$(function () {

var SelectVal = $("input[name='rblGJS']:checked").val();

if (SelectVal == 1) {

$("#gjsbh").show();

}

$("#<%=rblGJS.ClientID %>").change(function () {

SelectVal = $("input[name='rblGJS']:checked").val();

if (SelectVal == 1) {

$("#gjsbh").show();

}

else {

$("#gjsbh").hide();

}

});

})

</script>

<tr>

<td align="right" class="label_style">是否估價師:</td>

<td align="left" class="content_style">

<asp:RadioButtonList ID="rblGJS" runat="server" RepeatDirection="Horizontal">

<asp:ListItem Value="1" >是</asp:ListItem>

<asp:ListItem Value="0" Selected="True">否</asp:ListItem>

</asp:RadioButtonList>

</td>

</tr>

<tr id="gjsbh" hidden="hidden" >

<td id="right" align="right" class="label_style">估價師編號:</td>

<td id="left" align="left" class="content_style">

<asp:TextBox ID="txtGJSBH" runat="server" CssClass="easyui-textbox" Height="90%" Width="280px"></asp:TextBox>

</td>

</tr>

以上這篇js判斷radiobuttonlist的選中值顯示/隱藏其它模塊的實現(xiàn)方法就是小編分享給大家的全部內容了,希望能給大家一個參考

更多信息請查看網絡編程
關于我們 | 聯(lián)系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權所有:易賢網