Thank you Calvin and Alan. I'm not familiar with JSON and not much content in the book at the moment. I will do my research based on your suggestions.
Regards, Lio On Wed, May 22, 2013 at 1:09 AM, Alan Etkin <spame...@gmail.com> wrote: > You could then write some javascript to populate block 2 using the rec >> object created... >> > > I think this alternative should do what you want too: > > (in a view) > > {{=SCRIPT(""" > var myRows = %(rows)s; > """ % dict(rows=<set>.select().as_json()))}} > > > Then you can access the record values in myRows[n].fieldname from the > jQuery event handlers. > > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/9qu4EI8iOWY/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- 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.