How can i call perl subroutine in JSCRIPT action on onClick
same...
Maruthi
9:24 am on Oct 11, 2006 (gmt 0)
How can i call perl subroutine in JSCRIPT action on onClick
coopster
1:47 pm on Oct 11, 2006 (gmt 0)
Welcome to WebmasterWorld, Maruthi.
Perl subroutines run on the server-side whereas the onclick attribute of an element is a client-side action. The only way to run a perl subroutine on the server on an onclick attribute would be to fetch the request from the server.
physics
4:40 pm on Oct 17, 2006 (gmt 0)
I'm not sure if this is what you want but you can essentially do this using XMLHttpRequest (AJAX): [perl.com...]