I have very simple javascript code:
Code: Select all
<script language="JavaScript">
function f()
{
year_navigator.action="http://******/?q=node/" + year_navigator.year.value;
year_navigator.submit();
}
</script>
<form method="post" name="year_navigator">
Select year:
<select name="year" width="200" onchange="f()">
<option value="49" >2010 </option><br />
<option selected value="50" >2009 </option><br />
<option value="51" >2008 </option><br />
</select>
</form>
But, it seems, this function doesn't work in FireFox 11 - when user changes the year, nothing more happens .
Yes, I know that FireFox 11 is out-to-date, but, maybe, community can advise me any workaround for this issue?
P.S. I am a newbie in web-development, so sorry if this question looks like too stupid .