Alan, I've seen that kind of code before but used directly as a parameter in a jQuery.getJSON call.
How do you put that before the $.jsonp({ call? On Wednesday, February 13, 2013 12:15:23 PM UTC-8, Alan Etkin wrote: > > Can't figure out how to form the URL. > > > Is the client script created by the same app that serves the data? In that > case, you add this to the view: > > {{=SCRIPT('var getDaysURL="%s";' % URL(c="json_test", f="get_days"))}} > > And then use the getDaysURL string in your script. > > > -- --- 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/groups/opt_out.