SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2005
    Posts
    485
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Are Linked Selects Doable in RoR?

    linked selects are critical to my application. for those who don't know a linked select updates as the select box it linked to updates.

    for example select 1 is "California", then select 2 will list all the cities in California.

    change select 1 to Washington and select 2 will change to list all the cities in Washington.

    I use a php forms class to achieve this functionality right now.

    Does RoR offer it?

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2004
    Location
    Yakima WA.
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes they are possible. here is an article on one technique that uses ajax to grab the secondary list contents based on what was selected in the first one.

    http://www.roryhansen.ca/?p=9


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •