I've been building my site in FF and just realized that it's not working in IE or Chrome (the Javascript, that is). Using IE's JS debugger I found that it is spitting out the following error:
SCRIPT5007: Unable to get value of the property 'value': object is null or undefined ...
For the following code:
var myvar = document.getElementById("selectboxid").value;
It works fine in FF, but not in IE or Chrome.
The HTML for the select box looks like this:
<select name="selectboxid" id="selectboxid" size="1" autocomplete="off" tabindex="5" >
<option value="1">One</option>
<option value="2">Two</option>
...
Am I doing something wrong? If so, why does it work fine in FF?
Thanks for your help.