Where are the fragments of code you show running? In a CGI script? In a template? In a static page? The short answer is that you can't mix and match languages quite like that.
In reply to Re: Loop function in Javascript fails when combined with perl array
by philipbailey
in thread Loop function in Javascript fails when combined with perl array
by ash1351
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |