in reply to passing variables from cgi to javascript
Hello Mina,
You could always use javascript to capture the onChange of the first menu, and reload the page with the contents of the second menu.
I've seen it implimented on other websites, and this would allow users with javascript turned off (me, for example) to still use the lists (put a submit button in a noscript tag to replace the onChange in the second menu).
I'd also like to suggest picking up CGI Programming with Perl by Scott Guelich. It's a wonderful book that covers CGI, Perl, and javascript tricks.
Also, why don't you join the Monastery? It's worth it.
John J Reiser
newrisedesigns.com
|
|---|