jquery dropdownbox auto populated with mysql data

Posted by Xin on Stack Overflow See other posts from Stack Overflow or by Xin
Published on 2010-03-08T14:15:49Z Indexed on 2010/03/08 14:21 UTC
Read the original article Hit count: 264

Filed under:
|
|
|

I've got 2 dropdownboxes. Dropdownbox 1 shows all the tables from a database. When dropdownbox 1 is selected; dropdownbox 2 will be populated with tablefields from the selected table.

dropdownbox 1: This dropdown is populated with the following mysql query: "show tables from testdb"

dropdownbox 2: This dropdown will auto populate when dropdownbox 1 is selected. Dropdownbox 2 will be populate with the following query: "describe tablename" //tablename selected from dropdownbox 1

I want to make this using jquery. Can anyone point me into the right direction?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about dropdown