PDA

View Full Version : search by dropdown box


ahmedsoliman
11-26-2002, 03:49 AM
If i have 3 teams, each team has 10 players, if i select a team from dropdown box his players name get from my db and displayed in another dropdown box in the same page, how?
i want to do it without refreshing the page with new value

glenngv
11-26-2002, 03:55 AM
you need a double combo script like this:

http://www.javascriptkit.com/script/cut183.shtml

you should just generate a javascript array of teams and players retrieved from the database.

ahmedsoliman
11-26-2002, 12:29 PM
thank you:)