However, the site requires the users to be JS 'enabled' for other elements
Then I hope you go about rectifying this serious problem ASAP. Except in special cases (like a Javascript show-site), your site should never be dependent on Javascript.
For the interim, however, you could use:
Code:
<script type="text/javascript">
var options = new Array("a", "b", "c", "d"),
values = new Array("a", "b", "c", "d"),
optionslist = "<select>";
for(var i=0;i<options.length;i++)
optionslist += '<option value="' + values[i] + '">' + options[i] + '</option>';
optionslist += "</select>";
</script>
Then:
Code:
<script type="text/javascript">
document.write(optionslist);
</script>
Thanks again....or, rather "dômo arigatô!"
Heh... took up Japanese the week before last, just because I had some spare time on my hands
Bookmarks