$(document).ready(function () {
$("#Button_Edit").click(function () {
var radio1 = $("#GridView_Customer_Project_List:radio[id^='RadioButton_Select']");
if (radio1.is(':checked') == true) {
alert("Selected");
}
if (radio1.is(':checked') == false) {
alert("Not selected");
}
});
});
在上面的代码中总是不会选择警报消息,我想同时验证