Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

AJAX Dropdown


Reply

3 Posts   1291 Views

Avatar
Terminator4

10 February 2009 at 2:05am Community Member, 81 Posts

Hey guys,
How do I make a drop down box filter another dropdown box or table via AJAX in SS?
I really need to get this to work for a similar thing to the state example below. However, I will be using countries to populate regions/towns.

Examples include:
- http://superkeng.freehyperspace.com/state_dropdown.php
- http://www.w3schools.com/PHP/php_ajax_database.asp
- http://www.nitobi.com/products/combobox

Avatar
UncleCheese

10 February 2009 at 10:18am 4085 Posts

In the CMS or on your website?

Avatar
Terminator4

10 February 2009 at 6:40pm Community Member, 81 Posts

Hi, I would like to be able to use such AJAX functionality within the CMS or part there of.
Any suggestions or code exerts that you have would be greatly appreciated