erikdubbelboer / MooComplete

Add autocomplete functionality to input elements
15 stars 9 forks source link

ajax mode and more #5

Open refaktor opened 12 years ago

refaktor commented 12 years ago

Hi, I have added loading of data over ajax and some other things like onSelect (that I needed for my use). I won't post it yet since it's not finished in details yet, just so you know so we won't duplicate our work potentially.

You made an awesome unbloated autocompleter, it was very easy to extend. Congrats.

Janko

erikdubbelboer commented 12 years ago

Great. Let me know when you have committed your changes and I'll have a look.

elvisef commented 5 years ago

Where is the "onSelect" addon ? Im desperately looking for it... Btw. nice looking and working stuff !

erikdubbelboer commented 5 years ago

@elvisef I don't think anyone still uses MooTools. The last release was in 2016.

elvisef commented 5 years ago

We have some old projects that still use Mootools instead of jQuery etc.. so I need a simple fast JS solution. Then I found this. Do You still have a "onSelect" modification ?

erikdubbelboer commented 5 years ago

Looks like he never pushed these modifications to his fork: https://github.com/refaktor/MooComplete/branches

I haven't look at this code in years but I guess you could add an onSelect to the options and call it after every element.set('value', ....