so my proposal doesnt fail it's your JS Code. Either you can't access the namespace of leg or you misspelled it.
Though you may want to try window.leg or play around inside your browser's JS console (normally type F12 to get there)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
°) mostly like my in Perl except for the hoisting effect
*) in this case it behaves mostly like our in Perl
In reply to Re^3: Accessing javascript variable from perl
by LanX
in thread Accessing javascript variable from perl
by frazap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |