我想檢查是否有任何單選按鈕沒有被選中。我該怎麼辦?如何檢查任何單選按鈕未被選中
$(document).ready(function(){
$('#delete_btn').click(function(){ as answer
if (!($("RadioGroup1").is(':checked')))// THis line is not wirking..I need the code for this line
{
}else{
//message
}
http://api.jquery.com/not-selector/ - 這不是一個問題,而是一個谷歌的請求。 – hakre 2012-07-16 13:31:40
首先搜索谷歌 – 2012-07-16 13:32:10
我搜索的人..我發現上面的代碼..它不工作.. – Lahi2010 2012-07-16 13:33:46