On Tuesday, November 8, 2011 8:17:41 AM UTC-5, Vineet wrote:
>
> > If 'myvar' is a Python variable, you're going 
>
> 'myvar' is a not a python variable. 
> I pass the id of html element as argument. 
> Javascript code sets the value of that html element.


OK, but same problem -- 'myvar1' isn't a javascript variable either -- it 
is a string identifying an html element. So you would still have to return 
'abc("myvar1")', or maybe 'abc("#myvar1")', depending on how you are using 
it in the code.

Anthony

Reply via email to