Jump to content


reload page on a select change?


  • Please log in to reply
1 reply to this topic

#1 _*The_Interceptor_*

_*The_Interceptor_*
  • Guests

Posted 03 May 2004 - 01:10 PM

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.

#2 _*Shao_*

_*Shao_*
  • Guests

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users