Ok it is easiest just to show you the code I have:
So it is hidden at the start and then when I click custom it appears but then when I go back to something like Rar or MP3 it stays visible. Why doesn't it go back to hidden? Thanks.
| Code: |
| <form name="FileSearch" action="search.php" method="post"><label for="Search"><font color="white">File Name: </label><input type="text" id="Search" name="Search"> <label>File Type: </font>
<select name="type" id="type"> <option selected="selected" onclick="javascript:document.FileSearch.Custom.type=hidden">MP3</option> <option onclick="javascript:document.FileSearch.Custom.type=hidden">Zip</option> <option onclick="javascript:document.FileSearch.Custom.type=hidden">Rar</option> <option onclick="javascript:document.FileSearch.Custom.type=text">Custom</option> </select> </label><input size="10" disabled="false" type="hidden" id="Custom" name="Custom"> <input type="submit" name="Submit" value="Submit"></form> |
So it is hidden at the start and then when I click custom it appears but then when I go back to something like Rar or MP3 it stays visible. Why doesn't it go back to hidden? Thanks.
