All, I am writting a php script that runs as part of a joomla site. I have a table
Event day; time; races; (is an array of race id's) ....here is the Race table
Race id; name; ...On the site I want to have a drop down list of table Event. When they click on an Event in that list, I want to open a second drop down list on that page of possible races (using the values of the Event.race开发者_JAVA百科s for my query). Any idea on how to get the first drop down selected so I can create the second on the page?
Check out the Son of Suckerfish menu system. This is something you'll need some creative CSS to accomplish, but these guys have already done it and it's pretty easy to implement.
You can accomplish this with jQuery + an ajax request (aka XMLHttpRequest).
精彩评论