Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP, MYSQL, Javascript Drop down menu
#1
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.
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  vb6.0 + mysql Anurag.91 1 1,660 09-08-2012, 04:19 PM
Last Post: spesificrelax
  Creating and inserting data into a PHP and MySQL Database Peter L 9 4,067 03-24-2012, 10:49 AM
Last Post: Haxalot
  VB.NET MySql , Help please booterphhp 2 1,701 03-19-2012, 11:13 AM
Last Post: RainbowDashFTW
  [TUT] Include mySQL into php. MyNameIs940 48 22,968 01-14-2012, 04:45 PM
Last Post: Strafeness
  MySQL (Innodb vs MyISAM) Omniscient 15 9,597 07-22-2011, 03:15 PM
Last Post: developer99

Forum Jump:


Users browsing this thread: 2 Guest(s)