flyersun Posted November 1, 2006 Share Posted November 1, 2006 I'm newish at the whole php thing, i've been looking around for a script but I'm really not sure what it would be called or anything so I thought I might as well try here and see if anyone can help.I need a script which will change the page content depending on what option a user selects from a drop down menu. This should happen without the user needing to press a button or anything. I don't know if this would be a Javascript or Php or something else.. anyone have any ideas.Here's a website which an example of the sort of script I;m looking for:http://insurance.essentialtravel.co.uk/ Quote Link to comment Share on other sites More sharing options...
fert Posted November 2, 2006 Share Posted November 2, 2006 That website uses ASP, but you can use php for this kind of thing[code]$thing=$_POST[selector]; //replace selector with the name of the selection box[/code] Quote Link to comment Share on other sites More sharing options...
Skatecrazy1 Posted November 2, 2006 Share Posted November 2, 2006 well as far as having a form submit when you change something in a dropdown box, you can usesomething like onSelect="this.form.submit()" 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.