I have inserted a function to help me pass a value from one html page to a drop down box in another html page. The problem is the code is working only in IE and not in Firefox.

The code in the first page :-

Code:
<a href="reservation.html?rooms=0">Book Now</a>
The code in the 2nd page :-

Code:
  <script type="text/javascript">
function parseState()
...