Do you want to access DAL Row objects in the browser with javascript? I think that the simplest way is to convert a Rows object to dict and do a json dump of it, then assign the data to a js variable in the view
controller import simplejson myrows = db(query).select().as_dict() return dict(data=simplejson.dumps(myrows)) view {{=SCRIPT("var mydata = %s;" % data)}} El viernes, 17 de agosto de 2012 08:52:56 UTC-3, Mathias escribió: > > Hi, > > How can I catch rows in Javascript code ? > > Thanks > > Mathias > --