I have this code: Company_List = \ db(db.company.company_number > '0').\ select(db.company.company_number,db.company.company_name,\ orderby=db.company.company_number)
Which when passed ot ASSIGNJS creates this list: var myargs = [{"company_number": 2, "company_name": "Third Company"}, {"company_number": 5, "company_name": "Number 5 Company"}, {"company_number": 13, "company_name": "Lucky 13 Company"}]; I need to have this list changed to a Javascript dict for a popup select. How do I go about doing that ? Thanks ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division -- 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.