[web2py] Re: Not good at making ajax calls from a view

2013-05-14 Thread Jordan Ladora
One follow up question-- normally in my controller I would use a SQLFORM object, e.g. one named 'form' and then use: if form.accepts(request.vars, session): ...to execute code after getting validated form data. I could look for the newly created variables in request.vars or is there a better

[web2py] Re: Not good at making ajax calls from a view

2013-05-11 Thread Jordan Ladora
That did it - thanks! On Friday, May 10, 2013 12:36:54 PM UTC-7, Anthony wrote: > > Maybe try: > > onchange="{{="jQuery(district_select).remove(); ajax('%s', > ['title_select'], 'shadow_clone');" % URL('default', 'maker')}}" > > Anthony > > -- --- You received this message because you are s

[web2py] Re: Not good at making ajax calls from a view

2013-05-10 Thread Anthony
Maybe try: onchange="jQuery(district_select).remove(); ajax('%s', ['title_select'], 'shadow_clone');" % URL('default', 'maker') Anthony On Friday, May 10, 2013 2:18:55 PM UTC-4, Jordan Ladora wrote: > > Hi, > > I'm trying to implement a drop-down based on the one at > http://www.web2pyslices.c