Js unchecks the radio button and determines whether the object is empty
- 2020-03-29 23:47:20
- OfStack
The name of a set of radio buttons is country
var country = document.getElementsByName('country');
for(var i=0;i<country.length;i++){
if(country[i].checked)
{
country[i].checked=false; //Not selected
}
}
<c:if test="${shippingAddressList != null && not empty shippingAddressList}"> //Determines whether the collection shippingAddressList is empty