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???? Quote Link to comment 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! Quote Link to comment 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 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.