Archive for the ‘selectList’ Category

SelectList 0.4.2

Sunday, July 31st, 2011

I have released a new minor version of selectList. It introduces a small feature that was requested by a few people, and that is the ability to easily remove all selected items. Before this release, this was possible, but unnecessarily complicated. Now, it’s just a matter of calling the remove() API method with no arguments:

$('select').selectList({ instance: true }).remove();

As always, thanks for everyone’s feedback.

SelectList 0.4.1

Wednesday, March 30th, 2011

A new version of selectList has just been released and is available for download. This is a minor release with no new features, but it fixes a major issue that made the plugin fail in Firefox 4. I finally found enough time to work on it, and I’m happy to announce the new version works fine in the hot latest release of Mozilla’s browser — as depicted by this part of the test results table:

As usual, thanks to all the people who reported the issue.

SelectList Available on GitHub

Thursday, December 30th, 2010

With the last update to selectList, I made the plugin code available on GitHub. A few people have requested this, so there it is — go and grab it, fork it, or do whatever you can imagine with it.

My other projects will probably follow — however, I’m not migrating them to GitHub, I’m just using it as another means of making my code available to the world. Everything will still be hosted here on this website, and being the cloud-phobe that I am, I don’t expect this to change anytime soon.

SelectList 0.4

Tuesday, December 21st, 2010

SelectList 0.4 has just been released. This is a major update which introduces a different (better) approach to how the original multiple selection element is handled and how the plugin stores the selected options.

In the previous versions, the multiple select element was transformed into a single selection drop-down list by stripping off its multiple attribute, so there was no multiple select in the document anymore, and the selected options had to be stored in a series of type="hidden" input elements. However, this turned out to cause significant problems with obtaining the selected values with the core jQuery .val() method, and with serialization through .serialize().

I modified the code so that the original multiple selection element stays hidden in the document and continues to serve as a container for the selected options. This way the .val() and .serialize() methods are unaffected and can be used in the conventional manner.

This solution also has a few drawbacks (for example, it makes validation a bit more complicated), but it’s much easier to work around them than dealing with the quirks of the previous method.

The new version works with jQuery 1.3.2 up to 1.4.4. Oh, and the refactoring also happened to have made it smaller than the previous version.

SelectList 0.3.3

Thursday, September 30th, 2010

A new minor release of selectList is out, fixing a bug with incorrect handling of special characters in item names. Thanks to Sung Pae for reporting it and suggesting a solution.

SelectList 0.3.2

Saturday, August 21st, 2010

I’ve just rolled out a new release of selectList. It fixes a bug observed in IE7/IE8 where the hint text wasn’t shown in the select field as the initial option. Thanks to Nicolas for reporting this.

The new release isn’t available at plugins.jquery.com yet — there seems to be a problem with authentication on their website and I can’t get to the submission form. I’ll upload it there as soon as they get this fixed. For now, you can just get the plugin here.

Edit: Ok, now I know what happened to the plugins website — they had to lock it down temporarily to deal with spam. Get better soon, plugins website!

SelectList 0.3.1

Monday, August 2nd, 2010

SelectList version 0.3.1 is out. The most significant update in this release is added support for Validation, the de-facto standard jQuery validation plugin. SelectList should now work seamlessly with it.

Thanks go to: Zdenek Machek, Don Mallicoat, and Alex Skrypnyk.

SelectList Documentation Updates

Tuesday, July 20th, 2010

Just a quick notice for selectList users — I have updated the documentation page for the plugin, adding the missing API methods reference. I also added some explanatory text on the examples page. Take a look if you’re interested.

SelectList 0.3

Monday, July 19th, 2010

I’m releasing a new version (0.3) of selectList. This release brings support for the core jQuery method .val(), allowing you to retrieve the list of currently selected options at any time (which might be useful when you want to, for instance, send the selection with an AJAX request).

Thanks to John Watson and Dan Young for notifying me of this.

SelectList 0.2

Wednesday, April 14th, 2010

A new release of selectList (my multiple selection jQuery plugin) is now out. Version 0.2 brings proper handling of optgroup elements (as requested by a few users), and fixes one minor bug.

Thanks to Łukasz Ledóchowski for his feedback.