欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

js取消單選按鈕選中并判斷對象是否為空

 更新時間:2013年11月14日 17:06:38   作者:  
取消單選按鈕選中并判斷對象是否為空,在項目中也是比較常見的,下面有個不錯的示例,感興趣的朋友可以參考下
一組單選按鈕name都為country
復(fù)制代碼 代碼如下:

var country = document.getElementsByName('country');
for(var i=0;i<country.length;i++){
if(country[i].checked)
{
country[i].checked=false; //不選中
}
}

<c:if test="${shippingAddressList != null && not empty shippingAddressList}"> //判斷集合shippingAddressList 是否為空

相關(guān)文章

最新評論