I manage to do something but still not quite there <t:textfield t:value="myvalue" t:mixins="jquery/autocomplete,jquery/bind" bind.event="select" bind.eventType="select" bind.context="${selector:this}[0].value" bind.callback="function (event,ui,url) { alert(${selector:this}[0].value);}" />
this will fire an event when I select text and it will be handled on the jave side. However there are 2 problems with this. The first one is that i dont know how to pass the changed value. bind.context="${selector:this}[0].value" - just returns the string that is written there (js is not exectued) bind.context="myvalue" - returns the original value The second problem is that I cant find the right event. On select, on click is not good, and on change gets trigger once I select something from autocomplete, but it only gets the first character and not the hole word. Any ideas anyone -- View this message in context: http://tapestry.1045711.n5.nabble.com/Implement-Autocomplete-OnSelect-event-jquery-bind-event-tp5717090p5717092.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org