Tag Archives: release
Big update for my dear jQuery users. I’m rolling out TextboxList for jQuery 0.4 with these updates:
- [FEATURE] Autocompletion with on-demand server querying
-
[ENHANCEMENT] All classes moved to $. to avoid global namespace pollution. Please make sure to prepend
$.to TextboxList if you are upgrading from an older version:new $.TextboxList('#element'); -
[FEATURE] Easier jQuery-friendly initialization like this:
$('#element').textboxlist({options});However, if you still need to access the TextboxList instance to call additional methods (like
add), you’ll have to continue to usenew $.TextboxList - [BUGFIX]
GrowingInputnow works in noConflict mode - [BUGFIX] Fix for
GrowingInputto handle special characters and correctly calculate the input length. - [BUGFIX] Fix for support of multiple addKeys
- [BUGFIX] Fix for focus problem when TextboxList gains focus through focusing an editable input
- [BUGFIX] Autocomplete search term is now trimmed (thanks Mike Feng)
- [BUGFIX] Fix for when the max option is used
- [BUGFIX] Fix for unique = true and autocomplete.
As usual, head to the project page for download.
if ( comments_open() ) { ?>TextboxList 0.4 is out, with new features:
checkoption, which can allow you to specify a function to filter out new boxes that do not meet a requirementencodenow receives the complete values, not only the id or string of the bit. This gives you full control of what you want to send to the server.-
Autocomplete now works with on-demand suggestions. As easy as this:
new TextboxList('form_tags_input_4', {unique: true, plugins: {autocomplete: { minLength: 3, queryRemote: true, remote: {url: 'autocomplete2.php'} }}});
And some bugfixes:
- Fixed missing index when unique: false and autocomplete were used, which resulted in an error
- Fixed problems with items with id 0, which incorrectly evaluated as false.
Head to the demo to see the new autocomplete in action, and as usual, report any bugs you might encounter.
Update: 0.5 is out already, which fixes a bug with the traditional use of Autocomplete. Sorry for the trouble!
Due to popular request, I’ve made some changes to BarackSlideshow:
- New project page with documentation and how to use explanation
- It includes the upcoming, updated and optimized Fx.MorphList
- The download package has been fixed for a very easy deployment.
I’ve just released PHPShortener, a PHP class that makes it very easy to encode/decode URLs with services such as tr.im, is.gd, and others.
Encoding and decoding is a simple as this:
$s = new PHPShortener();
// encode a long url
$shorturl = $s->encode('http://devthought.com/projects/php/phpshortener/', 'is.gd');
// decode a short url (autodetects the service)
$longurl = $s->decode('http://tr.im/jBBp');
Head to the project page for downloads and documentation. Fork me on GitHub if you want to contribute!
if ( comments_open() ) { ?>