sMall!Girl Posted July 19, 2009 Share Posted July 19, 2009 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 Link to comment Share on other sites More sharing options...
NurAzije Posted July 20, 2009 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 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
Archived
This topic is now archived and is closed to further replies.