|
Next year for March Madness (NCAA Tournament) I want it easier for users to submit their brackets. I want to use the onChange handle but I don't know the best way to do it. For example:
SELECT1 (either Team1 or Team2)
SELECT2 (either Team3 or Team4)
SELECT3 (SELECT1 OR SELECT2)
Doest that make sense? You can choose either team1 or team2 to win the game. Whichever team you choose goes to the next round and is put into the SELECT3. The same goes for the winner of Team3 vs. Team4.
This is just a small example though, the NCAA tournament has 64 teams, which means there are 32 games in the first round, 16 in the next, then 8, 4, 2 and finally 1.
How would I code that? If you could do it for 8 teams (a mini 4 game tournament) I could probably take it and mulitply it for the 64 teams.
|