June 20, 200917 yr Could anyone tell me how to do the following: I want to make an html form (simple enough) but i want it so that it has a few drop down lists in it. When a user makes a choice in the first drop down list, i want the following drop down list to only display choices related to the choice the user made in the previous drop down list. Hope that makes sense.
June 20, 200917 yr Could anyone tell me how to do the following: I want to make an html form (simple enough) but i want it so that it has a few drop down lists in it. When a user makes a choice in the first drop down list, i want the following drop down list to only display choices related to the choice the user made in the previous drop down list. Hope that makes sense. You want to look into jQuery and AJAX.
June 21, 200917 yr Author You want to look into jQuery and AJAX. I don't think what i need to do needs AJAX. Although i'm sure AJAX would do something similar, i'm certain there's a more simple way of achieving what im after.
June 21, 200917 yr Author I've found an example of what im after. If you go to http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk you'll see that once the top field is changed, this changes the options in the other fields. It is this that i want to be able to do. Anyone know how?
June 21, 200917 yr its done via ajax / javascript and maybe sql .... as the page needs to be refreshed again to show the next dropdown with the data, ajax will do this in the background
June 21, 200917 yr Author its done via ajax / javascript and maybe sql .... as the page needs to be refreshed again to show the next dropdown with the data, ajax will do this in the background Damn, here's me hoping there'd be a simple html solution. Thanks people.
June 21, 200917 yr mysql & php version here you can also populate using an xml file instead of the database
June 21, 200917 yr What you're looking for is known as "chained selects" A quick search on google will yield thousands of results... Something like this...
Create an account or sign in to comment