Hi everybody,
I've got something like this:
<html>
<?php
echo '<form name="test" method="post">';
echo '<select name="choice" size="1" onChange="if (this.selectedIndex == 3) document.test.choose.disabled=false; else document.test.choose.disabled=true;">';
echo '<option name="hello">hello</option>';
echo '<option name="bye">bye</option>';
echo '<option name="what">what</option>';
echo '<option name="other">other</option>';
echo '</select><input type="text" name="choose" disabled>';
echo '</form>';
?>
</html>
and it's working fine until it's a part of bigger file. Then I keep getting error from IE: 'document.test.choose' is null or is not an object.
That bigger file doesn't contains some special tricks, only usual if-else instructions and stuff like this...
Does anyone have some idea why it doesn't work ?