Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

jquery.remoteselectoptions


This plugin allows you to populate a selectbox remotely, when the user clicks or otherwise selects the box. It uses a "lazy load" method to only load the box's options when they are actually needed.

An example is if a form includes a Country selectbox, but you know the user is unlikely to need to change the country, in which case it makes sense to only have the expected country in the selectbox and load the rest only if the user clicks on the selectbox.

All that's needed is to populate the selectbox with a single option, then run .remoteselectoptions({url:'/source/of/options.html'}) on it.

Downloads



5
Your rating: None Average: 5 (2 votes)