Announcement Announcement Module
No announcement yet.
dynamically populating dropdowns Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • dynamically populating dropdowns

    i am trying to dynamically populate "cities" drop down based on "states" drop down.

    i am using spring mvc with spring js. i am not using webflow. what is the spring js decoration i can use to accomplish this?

    i have a controller set up that takes in a state id and gets the list of cities. how do i call this on the on change event of the first drop down, then populate the second drop down?

    spring js/ajax is working with links. as in when someone clicks a link. but i don't know the decoration for onchange of a dropdown. thanks in advance for your help.
    Last edited by pgibbons; Nov 10th, 2008, 12:01 AM. Reason: mvc, ajax, js, dojo, tiles, decoration

  • #2
    has anyone done this before?