Home: Perl Programming Help: Intermediate:
"exec cgi" with javascript in a perl counter



entius
stranger

Apr 26, 2001, 12:59 PM


Views: 3913
"exec cgi" with javascript in a perl counter

i have the and i want to pass a query to counter.pl.
the question is how? it's not a static message, it's a screen.width and screen.height so it must be in a javascript context.
Then the questions:

how to "insertAdjacentHtml" or "write" etc the exec directive? cause i've not been able to do this! in a <script> </script> context.

kasjda


entius
stranger

Apr 26, 2001, 1:03 PM


Views: 3911
myself

sorry, the program doen't allow to introduce tags or directives, i said i have an exec cgi = counter.pl and that i want something like that:

script language = javascript
var exec = exec cgi="counter.pl?width="
var count = screen.width
document.insertAdjacentHtml('beforeEnd',exec+count)
/script

thanks


kasjda