VAStGoodies.com
Your VA Smalltalk OSS repository. Powered by VA Smalltalk with Seaside.

JQuery Autocompletion Plugin

This is an updated version of the goodie that runs in VA Smalltalk 8.0.1 - tiny change made by Joachim Tuchel
Read more at: http://joachimtuchel.wordpress.com/2009/12/14/vast-8-0-1-seaside-using-the-jquery-ui-plugins/
Original info by Bart Veenstra follows:

Wrapper for Autocomplete plugin for JQuery.

JQuery Plugin created by Jörn Zaefferer
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
Current version: 1.1
Compressed filesize: 8.001 bytes
License: MIT/GPL
Tested in: Firefox 3, IE 6 & 7, Opera 9, Safari 3
Migrated to VAST80 by Bart Veenstra

Autocomplete an input field to enable users quickly finding and selecting some value, leveraging searching and filtering.

By giving an autocompleted field focus or entering something into it, the plugin starts searching for matching entries and displays a list of values to choose from. By entering more characters, the user can filter down the list to better matches.

This can be used to enter previous selected values, eg. for tags, to complete an address, eg. enter a city name and get the zip code, or maybe enter email addresses from an addressbook.

[Usage example]
|id|
( html textInput )
; id: (id := html nextId)
; script: ( html jQuery new script: [ :s | s << ( s jQuery id: id ) autocomplete data: anOrderedCollectionOfStrings] )
[Usage example Ajaxified]
|id|
( html textInput )
; id: (id := html nextId)
; script: ( html jQuery new script: [ :s | s << ( s jQuery id: id ) autocomplete data: anOrderedCollectionOfStrings ; useAjax: true with: s ] )
Licence:
MIT/GPL
Blog:http://beartcommons.wordpress.com/
Email:bart.veenstra@gmail.com
Developers:Bart Veenstra, Joachim Tuchel
Tags:ajax autocomplete jquery seaside
Configuration Maps:JQuery-plugin Autocomplete (5↑|127↓)
Number of uploads:5
Number of downloads:127