Cascading/Filtering Dropdowns.

So I haven’t written anything in a while as work has been rather busy, so here’s a quick plugin I have had to build to filter selects. Hit the link for the code: http://jsfiddle.net/Xanetia/A8zm7/.

That link has a fairly simple example, also demonstrating chaining back and forwards, more complex ones could be not filling in the filtered dropdown and passing the options through as the originalOptions parameter – I feel that the comments are fairly self explanitory. Feel free to comment/post bugs/ask questions.

About Simeon Cheeseman

I enjoy a wide variety of computer and board games, have a BSc in Computer Science and have played percussion for 18 years.

Posted on September 28, 2011, in jQuery. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: