function checkIsSel(objid){ var select_options = document.getElementsByName(objid); var x = select_options.length; xx = 0; for(i = 0; i < x ; i++){ if(select_options[i].checked){ xx++ } } if (xx == 0){ return false; }else{ return true; } }