Archive for October, 2009

JQuery Auto Complete Plugin for Seaside

I have ported a jquery plugin which enabled auto completion on text fields on vastgoodies.com

You can get it here: http://vastgoodies.com/maps/JQuery-plugin%20Autocomplete/BV%202009Oct29

Release notes:

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 ] )

, , ,

6 Comments

Follow

Get every new post delivered to your Inbox.