jcompton32 Posted January 19, 2007 Share Posted January 19, 2007 Hope I can explain this well... ;)I need to develop a drop down box that changes the page as you proceed.Example: Drop down box #1 has car manufacturers (ie. Honda, Ford, BMW, etc.) Drop down box #2 has models If you select no preference in box #1 all models should be viewed.If you select Honda in box #1 -- drop down box #2 should show only (civic, accord, element, etc.)If you select Ford in box #1 -- drop down box #2 should show only (escape, explore, GT, etc.)[size=15pt]EXAMPLE: -- Done in KELLYBLUE BOOK [font=Verdana]http://www.kbb.com/kbb/UsedCars/default.aspx[/font][/size]<br>Note it ends in *.aspx.... can this be done in PHP to connect to my mysql database???? Link to comment https://forums.phpfreaks.com/topic/34884-drop-down-box-actions/ Share on other sites More sharing options...
fazzfarrell Posted January 19, 2007 Share Posted January 19, 2007 I think I know what you want to do: I did a simaler thing http://gtr.spgrouponline.co.ukI cheated and used an extension, then customised it, it dead cheap and well worth havinghttp://www.tecnorama.org/document.php?id_doc=62hope this helps! Link to comment https://forums.phpfreaks.com/topic/34884-drop-down-box-actions/#findComment-164535 Share on other sites More sharing options...
bibby Posted January 21, 2007 Share Posted January 21, 2007 Let's break down the tasks : Javascript is going to do the listening for changes in the dropdown. If you preload all the possibilities, js could replace your dropdown too, but if you want to fetch it dynamically all the time, you'll want to make an ajax requestto something like buildNewDropdown.php?conditions=2 Link to comment https://forums.phpfreaks.com/topic/34884-drop-down-box-actions/#findComment-165885 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.