Support Forums

Full Version: PHP, MYSQL, Javascript Drop down menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have 2 drop down menus 1 for the state anthoer for the college connected to a database

you click the state then loads a list of colleges then you click your college on the register page along with the rest of your stuff and it will add it to your accoutn and then put your user id to the class id once the find there class now my big problem is i need to get this script to work with my database.
Have you tried using the onChange event and then call an Ajax event that will do the update and building of the new dropdowns? If you have jQuery you can asign the $("#dropdownId").change(function(){//your ajax calls here}); in the document ready to speed up the process.