form:radiobuttons单选按钮i-check选中触发
生活随笔
收集整理的這篇文章主要介紹了
form:radiobuttons单选按钮i-check选中触发
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
//單選按鈕選中觸發$('.carries_type').on('ifChecked', function(event){ debugger;alert($(event.target).val());});
//取 單選按鈕值$("#typeRadiobuttons input.i-checks:radio").each(function(){if(true == $(this).is(':checked')){alert("-----"+$(this).val());}});//清除選中$('#type1, #type1').iCheck('uncheck');
獲取當前選中單選按鈕的value?
<td style="width:25%;" colspan="3" id="typeRadiobuttons">
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? <form:radiobuttons path="type" items="${fns:getDictList('carries_type')}" itemLabel="label" itemValue="value" class="i-checks carries_type" htmlEscape="false" />
</td>
官網附上:
http://www.bootcss.com/p/icheck/#usage
總結
以上是生活随笔為你收集整理的form:radiobuttons单选按钮i-check选中触发的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【Python】你的表格太丑了!能美化下
- 下一篇: Linux命令-关机,重启