function checkResolution(elem,days,hours,minutes, helperMsg)
{
for (i=0;i<elem.length;i++)
{
if (elem.options[i].selected){
if( elem.options[i].text.toLowerCase()== "<< select any >>"){
alert(helperMsg);
elem.focus();
return false;
}
}
}
//alert(days.value);
}
HERE THE CHECKING HAPPENS BUT THE ALERT MESSAGE IS NOT PRINTED (For
example if i select nothing in the select box and click ok button
nothing happens).WHY?