Ok thanks:

Looking to pass to the javascript something like this:

{ 2: "Third Company",  5: "Number 5 Company", 13: "Lucky 13 Company"}

It is to create a selection list that returns the number (2, 5, 13 ,etc
...) but shows the
company name

Thanks

*Ben Duncan*
DBA / Chief Software Architect
Mississippi State Supreme Court
Electronic Filing Division


On Mon, Feb 25, 2019 at 12:29 PM Leonel Câmara <leonelcam...@gmail.com>
wrote:

> Well then don't give ASSIGNJS all those rows, because that's a list of
> companies.
>
> You can also put the list of companies inside a javascript dictionary
> ASSIGNJS(myargs= {'company_list': Company_List}) is this what you want? If
> you tell me what you're trying to achieve it would be easier to explain how
> to do it.
>
>
> --
> 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.
>

-- 
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.

Reply via email to