On Fri, Sep 2, 2011 at 8:34 AM, Vineet Deodhar wrote:
> Hi !
> Within a web framework, I want want to pass a python sequence (list or
> tuple) to client-side javascript function as an array (javascript
> compatible)
> e.g., I have this list:
> L = ['spam', 'ham', 'eggs', 12, (13.63)]
> What is the
On Fri, Sep 2, 2011 at 11:34 AM, Vineet Deodhar wrote:
> Hi !
> Within a web framework, I want want to pass a python sequence (list or
> tuple) to client-side javascript function as an array (javascript
> compatible)
> e.g., I have this list:
> L = ['spam', 'ham', 'eggs', 12, (13.63)]
> What is th
Hi !
Within a web framework, I want want to pass a python sequence (list or tuple)
to client-side javascript function as an array (javascript compatible)
e.g., I have this list:
L = ['spam', 'ham', 'eggs', 12, (13.63)]
What is the correct way to convert L to javascript array format?
1) jsonify t