sMall!Girl Posted July 19, 2009 Report Share Posted July 19, 2009 (edited) Hi<select name ="types"><option name="" value="">select</option><option value="0">Fruit</option><option value="1">veg</option></select><select name ="type"><option name="" value="">select</option><option value="Oragne">Oragne</option><option value="Apple">Apple</option><option value="Tomatoes">Tomatoes</option></select>If I select the fruit it will the fruits list should be shown and if I select the veg the vegetables list should be shownHow can I do it Thanks Edited July 19, 2009 by sMall!Girl Link to comment Share on other sites More sharing options...
NurAzije Posted July 20, 2009 Report Share Posted July 20, 2009 You can use JS, use onSelect in the first select, and fill the data in te second one by JavaScript depending on the selection of the first. Link to comment Share on other sites More sharing options...
sMall!Girl Posted July 21, 2009 Author Report Share Posted July 21, 2009 You can use JS, use onSelect in the first select, and fill the data in te second one by JavaScript depending on the selection of the first.i Did it , by using jsthanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now