i'm working on a cgi script which is trying to implement a double drop down menu. basically, one drop down menu has an onChange event handler that populates the other drop down list with different things. i don't want to hardcode the options in the second menu, and i already have perl arrays that contain the options in the different menus. what i need is a way to pass the perl arrays into javascript - how would i do this? (short of trying to fool around with hidden fields)
thanks,
mina.
In reply to passing variables from cgi to javascript by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |