SelectBox validates in IE but not in FF

Having a problem with validation, it’s been a while since i have done some javascript but i’m pretty sure it used to work on both browsers but i can’t get this to validate in FF…any suggestions welcomed.

form :

<form name=“form1”>

     &lt;label&gt;&lt;span class="style19"&gt;Mileage*:&lt;/span&gt;&lt;/label&gt;
    &lt;select name="MySelect"&gt;
        &lt;option value="none"&gt;Please Select&lt;/option&gt;
		&lt;option value="0-25"&gt;0-25&lt;/option&gt;
        &lt;option value="26-50"&gt;26-50&lt;/option&gt;
        &lt;option value="51-75"&gt;51-75&lt;/option&gt;
        &lt;option value="76-100"&gt;76-100&lt;/option&gt;
		&lt;option value="over100"&gt;Over 100&lt;/option&gt;
    &lt;/select&gt;&lt;br&gt;
	
	 &lt;input type="button" name="Button" value="clear" onClick="blanks()"&gt;
	&lt;input type="button" name="Button" value="Submit" onClick="validate()"&gt;

</form>

Javascript:

<script type =“text/javascript”>

function blanks()
{
document.form1.reset()
}

function validate()
{

MySelect = document.form1.MySelect.options[form1.MySelect.selectedIndex].value;

if (document.form1.MySelect.options[form1.MySelect.selectedIndex].value==‘none’)

{
alert("Please enter your mileage")
} 
else
{
alert("thank you")
}

}

</script>

i’ve tried slight variations and had no luck with FF

What DOES or DOES NOT happen in FF versus IE? What difference are you seeing?

I actually got it working, FF doest not recognise the stuff highlighted in blue (pretty sure it used to a couple of years ago) anyways if anyone else gets stuck:

This works

form:

<form name=“form1” id=“form1”>
<select name=“mileage” id=“mileage”>
<option value=“Please Select” selected>Select Distance</option>
<option value=“0-25”>0-25 Miles</option>
<option value=“26-50”>26-50 miles</option>
</select>

<input type=“button” name=“Button” value=“clear” onClick=“blanks()”>
<input type=“button” name=“Button” value=“Submit” onClick=“validate()”>

</form>

javascript:

function validate()
{

var selBox = document.getElementById(‘mileage’);

if (selBox.value == 0)

{
alert(“Please enter your move distance”)
}
}