I've got a select list, with a few options in it. I'm trying to get the page to reload with the new value when the select field is changed. What is the best way to do this? I'm using php.
reload page on a select change?
Started by
_*The_Interceptor_*
, May 03 2004 01:10 PM
1 reply to this topic
#1 _*The_Interceptor_*
Posted 03 May 2004 - 01:10 PM
#2 _*Shao_*
Posted 10 May 2004 - 11:28 PM
use the onchange option in the select tag to submit the form request and reload the page with the new options.
Or you could type an array of all the select options using javascript so the changes occur on the client side. I believe there's a sample tutorial in javascript about using arrays and select options in a form to do this.
Shao
Or you could type an array of all the select options using javascript so the changes occur on the client side. I believe there's a sample tutorial in javascript about using arrays and select options in a form to do this.
Shao
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users