BillyMako Posted November 10, 2008 Share Posted November 10, 2008 Why isn't this working???? Echo ' <form action="show.php" method="post" onChange="this.form.submit()"> <select> <option value selected>select</option> <option value="1">1</option> <option value="2">2</option> </select> </form> '; Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 10, 2008 Share Posted November 10, 2008 Try this: Echo ' <form action="show.php" method="post"> <select onChange="this.form.submit()"> <option value selected>select</option> <option value="1">1</option> <option value="2">2</option> </select> </form> '; Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted November 10, 2008 Share Posted November 10, 2008 The form tag does not allow the onchange event handler. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.