Hi!
I have drop down menu on my web page. I have put a javascript check on my web page that when some one clicks a button , this drop down box shouldn't be empty and in case it is empty, it should give alert. This is working fine in IE7. But in FF the Empty Drop Down check doesn't work at all.

Following is check in javascript:
<!--
function mco(){

theForm = document.frm;
if(theForm.sp_charges){
if(!theForm.sp_charges.options[theForm.sp_charges.selectedIndex].value){
alert("Please Select Shipping Type");
theForm.sp_charges.focus();
return false;
}
else{
window.location = '..........';
}
}
else{
window.location = '..........';
}
}
-->



Drop Down Selection Box code:

<select id="sp_charges" name="sp_charges" size="1">
<option>Select Shipping Type</option>
<option value="8"> 3-5 Business Days DHL/USPS - $8.00</option>
<option value="15">2-3 Business Days Express - $15.00</option>
<option value="25">1-2 Business Days Express - $25.00</option>
<option value="32">Next Day/24 hour delivery - $32.00</option>
<option value="INTL">USPS Priority Mail $35.00</option>
</select>



Thanks in advance