Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery userControl中定义的RadioButtonlist事件_Jquery_Radiobuttonlist - Fatal编程技术网

Jquery userControl中定义的RadioButtonlist事件

Jquery userControl中定义的RadioButtonlist事件,jquery,radiobuttonlist,Jquery,Radiobuttonlist,我想为RadioButtonlist编写change()。 我的单选按钮在用户控制中。 所以我在主页面中编写jquery函数 有人能帮我吗 $("#ctl00_ContentPlaceHolder1_Wizard1_ucCustomers_PackageInfo_ddlPackage").val(); 通过使用上述代码,我只得到radiobuttonList的第一个值 $('input:radio[name=nameofcheckbox]:checked').val(); 这将使您从复选框中

我想为RadioButtonlist编写change()。 我的单选按钮在用户控制中。 所以我在主页面中编写jquery函数

有人能帮我吗

$("#ctl00_ContentPlaceHolder1_Wizard1_ucCustomers_PackageInfo_ddlPackage").val();
通过使用上述代码,我只得到radiobuttonList的第一个值

$('input:radio[name=nameofcheckbox]:checked').val();
这将使您从复选框中删除所选值