ericjw316 Posted February 9, 2011 Share Posted February 9, 2011 Hey everyone, I am trying to set up a thing where i will have a list of states in a drop down list. After a state is select i would like a section of check boxes to appear with cities that a person can choose from. Can anyone help me out with this i have looked on the internet and been trying to code this my self but with progress. I can work with php or java script all i need is some help on getting started and maybe an example. Thanks E Quote Link to comment Share on other sites More sharing options...
anups Posted February 9, 2011 Share Posted February 9, 2011 look at http://www.dhtmlgoodies.com/index.html?page=ajax "Chained select boxes" Source Code http://www.dhtmlgoodies.com/index.html?whichScript=ajax_chained_select Demo http://www.dhtmlgoodies.com/scripts/ajax-chained-select/ajax-chained-select.html Quote Link to comment Share on other sites More sharing options...
ericjw316 Posted February 9, 2011 Author Share Posted February 9, 2011 Thanks for the posting but it is not what i am looking for. I need the check boxes because they will need to select multiple cities. Quote Link to comment Share on other sites More sharing options...
anups Posted February 9, 2011 Share Posted February 9, 2011 wheneveryou get ajax response you can modify it... instead of creating drop down you can create checkbox, hardly matter of 10-15 mins.... OR else in drop down you can set the 2 properties of <select> "multiple" & "Size" so that without checkbox uses can select multiple. 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.