Hi all, I've written a JQuery combobox plugin based on JQuery UI infrastructure. While not an official UI plugin, I've tried to adhere to JQuery UI coding conventions, infrastructure (basing it off ui.core.js), method invocation, and event handlers (include enable/ disable/destroy/setData/remove).
http://jonathan.tang.name/code/jquery_combobox Features include: * Can either select from provided list or input your own entry, like a true combobox * Keyboard sensitive to standard combobox keybindings. * Event handlers for keypress, change, and select * Stylable either by CSS or by replacing the generated HTML * Should be i18n-friendly: many existing combobox plugins use a select element that's dynamically updated by keyboard events, which doesn't work if your keys don't correspond to English letters. This uses a text field with the menu faked by a series of spans. * Unobtrusive; seamlessly copies the name/id/class attributes from the element being replaced over to the combobox text field. Similarly, calling 'destroy' will restore the original element. What this is not: an autocomplete plugin. There's already a perfectly good UI widget for this, and so this makes no effort to hide parts of the selection menu or work through AJAX. It's intended as a UI widget for relatively small lists of items, where the user may also add their own selection. Enjoy, Jonathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
