A few things. You don't have the complete code listed or the error you are seeing. This information could help us help you.
I would also do some searches as these issues have been touched on before here. And I would try your js in a static html page to make sure it works in a clean environment.
In reply to Re: cgi form and javascript
by Ninthwave
in thread cgi form and javascript
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |