The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Modifying a form in real time with JQuery

DelzhandDelzhand Registered User, Transition Team regular
edited March 2010 in Help / Advice Forum
I have a dropdown box with a list of states, and another with a list of counties. I'd like only the counties from the selected state to appear in the list, but I'm not sure how to go about doing it. My experience with JQuery so far is primarily in modifying the appearance of items, I haven't really used it with forms until now.

Delzhand on

Posts

  • admanbadmanb unionize your workplace Seattle, WARegistered User regular
    edited March 2010
    Have an onChange callback for the states drop-down that calls a javascript function with its new value. Then you'll probably want to use something like insertAfter or replaceWith.

    admanb on
Sign In or Register to comment.