从javascript中抛出radiobutton CheckedChanged
raise radiobutton CheckedChanged from javascript
我有一个javascript函数响应<tr>
的点击并检查"asp:radiobutton"
单选按钮属性"autopostback"被设置为"true",但是检查单选按钮的javascript函数不会触发单选按钮事件"radiobutton_CheckedChanged"
我能做些什么,以便在javascript函数检查后触发单选按钮事件?
感谢您的帮助
这将让您知道单选按钮没有任何radiobutton_CheckedChanged事件。但是,您可以使用click event和属性检查实现你想要的和写返回true回发页面由于autopostback true属性和写返回false不回发页面在java脚本函数。
我找到了答案:
setTimeout('__doPostBack('"<%=rb2.ClientID %>",'''')', 0);
相关文章:
- 使RadioButtonList中选定的RadioButton不可单击但不禁用
- RadioButton with Javascript (MVC3)
- 使用js或jqm选择radiobutton
- 是否可以禁用asp.net中radioButton列表中的一个listItem
- RadioButton 总是返回 false - JavaScript
- RadioButton 不会设置选中的 javascript
- 选中时如何将radioButton(<输入类型radio./>)连接到调用函数
- 使用Javascript和CustomValidator验证RadioButton列表
- 正在绑定sap.m.RadioButton
- RadioButton有值,尽管它没有被选中
- JavaScript,radiobutton.checked在IE中不起作用
- 复选框RadioButton行为
- 当asp:TextBox为空时禁用按钮&没有选择asp:RadioButton
- 如何在Javascript中更改或删除asp RadioButton GroupName
- RadioButton没有't '的焦点
- C# Radiobutton oncheckchanged not firing
- 单击RadioButton时调用javascript函数
- RadioButton's CheckedChanged在刷新后消失
- 如何设置dijit.form.radiobutton只读模式
- 从javascript中抛出radiobutton CheckedChanged