Skip to main content

Scriptaculous Autocomplete

3 replies [Last post]
marcw
Offline
Joined: 2007-03-30

How can I get a simple Autocompleter item from Scriptaculous working.

I've got

with statesData.js being

[
["Alabama","AL"],
["Alaska","AK"],
..
["Wisconsin","WI"],
["Wyoming","WY"]
]

like was working for me for the dojo combo box. It does not work, I am afraid. I cannot find much information on it. Please give me a hint.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
marcw
Offline
Joined: 2007-03-30

Ok, I found an example now.

But Is there a way to delete the last messages. I wanted to show what I found, but the example consists of partly html code which is not shown as text but as page content. Anyway my apoligies for the last two unreadable mails then....

marcw
Offline
Joined: 2007-03-30

Heeeeej,

I found an example on www.koders.com :)

_autocomplete_result.html

  • test1selectme1
  • selectme2test2
  • test3selectme3
  • BOLDselectme4boldinselectme
  • (GET ME NOT)(GET <ME> INSTEAD)(forselectme!)
  • Here we have a link which should work
marcw
Offline
Joined: 2007-03-30

If anyone would also be looking for a simple example, I am afraid the html part is shown as page content. I'll put some spaces in it....

< u l >
< l i >test1< s p a n class="selectme" >selectme1 < / s p a n >
< / l i >
..... more options
< / u l >