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   1347 Views

Avatar
Terminator4

Community Member, 81 Posts

10 February 2009 at 2:05am

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

Forum Moderator, 4096 Posts

10 February 2009 at 10:18am

In the CMS or on your website?

Avatar
Terminator4

Community Member, 81 Posts

10 February 2009 at 6:40pm

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