oceans Posted May 25, 2007 Share Posted May 25, 2007 Dear People, Can any one tell me where can I get Java Scipt for making the following: When the select select box value chaenges go to next page with out a submit button. I am searching google and yahoo but not hitong any, may be my search word is no good. I know the comman goes like this " <select name="select" class="textfield" onchange="call (java script)"> " I need the java example. Quote Link to comment https://forums.phpfreaks.com/topic/52917-solved-select-box-that-needs-no-submit-button/ Share on other sites More sharing options...
pocobueno1388 Posted May 25, 2007 Share Posted May 25, 2007 <select name='myfield' onchange='this.form.submit()'> Quote Link to comment https://forums.phpfreaks.com/topic/52917-solved-select-box-that-needs-no-submit-button/#findComment-261334 Share on other sites More sharing options...
Trium918 Posted May 25, 2007 Share Posted May 25, 2007 <form name=auto> </form> <?php echo "<select name=\"searchtype\" onChange=\"auto.submit();\"> ?> Quote Link to comment https://forums.phpfreaks.com/topic/52917-solved-select-box-that-needs-no-submit-button/#findComment-261336 Share on other sites More sharing options...
oceans Posted May 25, 2007 Author Share Posted May 25, 2007 Dear Pocobueno1388 & Trium918, Both works, I am using Pocobueno1388 's Thanks Quote Link to comment https://forums.phpfreaks.com/topic/52917-solved-select-box-that-needs-no-submit-button/#findComment-261371 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.