the callback function can do response.js="alert('hello');"
On Sep 16, 4:33 pm, Manu <swel...@gmail.com> wrote: > Hi, > Instead of changing the value of a field i would like to dynamically > add a class to an item from an ajax request if the request succeeded. > Is it possible to that with the ajax function provided by the web2py > framework. It seems that we can only specify a target and not a > function to call ? How would you do that ? > > Thx