If you are using the ajax() function, note the third argument can be: - ":eval", in which case, you can return Javascript code to be executed (this code could, for instance, define a Javascript array). - A Javascript function, in which case, the returned data will be passed to that function.
Also, please don't label all of your posts as "URGENT". We get it -- everyone wants fast answers. Anthony On Wednesday, May 24, 2017 at 4:23:05 AM UTC-4, sunda.am...@gmail.com wrote: > > Hello, > > > i have a form, when i fill it, it will callback an ajax code, which will > call an action, that action returns a list and it puts it on the target, > > I can see the target when i put <div id="target"> </div> And it display > the list perfectly ... > > The problem is that i don't wan't the list being displayed, i just want to > work with it in the view, i would like to be able to have the list in the > view without having to pass by a div. > > > > > Thanks > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.