Board index » html » select onclick
|
Dawn
Registered User |
select onclick
2004-01-07 05:57:00 AM
Hi, I use to have apache 1.3 installed on my computer. I did a clean install and went from RedHat 9.0 to SUSE 9.0. In this clean installed I decided to try apache2. Now I am having some problems. I know that php and mySQL are working fine. There were a few changed that I had to make to my code to get it to work, but for the most part, my code is working. This part of my code however is not working. I have the same code on another computer that is running apache1 and it is working find. Did I miss some in the setup? <form name="act_list" border=0> <table align="center"> <tr><td> <select name=actors size=10 onclick="parent.bottom.location.href='./actors.php?id=' + this.form.actors.options[this.form.actors.selectedIndex].value"> <option value=331>Animal Characters <option value=319>Animation Characters <option value=98>Brandy <option value=366>Eve <option value=249>Madonna </select> </td></tr> </table> </form> When one of the select is click it is suppose to call the actors.php file (which it does) and send it the value (which it does not). I do not know why this does not work in apache2. Thanks Dawn - |
