I noticed some very strange behaviour when working with javascript
generated pulldown menu's.
first I tried this:
<form>
<select>
<script>
for (something){
doument.writeln("<option value=''>some text</option>");
}
</script>
</select>
</form>
This doesn't works in Mozilla and netscape 4.7, but results in one extar
option (an empty one) when viewed with mozilla.
Then I tried this:
<form>
<script>
document.writeln("<select>");
for (something){
doument.writeln("<option value=''>some text</option>");
}
</script>
</select>
</form>
This results in a good pulldown (eg no extra options) in Mozilla, but
fails to show up at all in Netscape 4.7.
I finally chose to do create the pulldown code in PHP, this does fix it,
but was a hell of a lot extra effort.
Has anyone every noticed this behaviour?
Jesse