Yes, but the Javascript can submit a form with the submit() method that gets
parsed by a mod_perl script, or change the document.location property to point
to the url of a perl script or URI that a mod_perl sub handles, thus effectively
gluing the button's onClick event to a server-side thingy.  Javascript is a good
client-side complement to the serverside tools Karina listed.


--Wes Sheldahl




Tatsuhiko Miyagawa <[EMAIL PROTECTED]> on 09/13/2001
08:56:50 AM

To:   "Karina Nahagama" <[EMAIL PROTECTED]>
cc:   [EMAIL PROTECTED] (bcc: Wesley
      Sheldahl/Lex/Lexmark)
Subject:  Re: working with buttons, Apache::Session, mod_perl and DBI.


On Thu, 13 Sep 2001 17:56:21 +0900
"Karina Nahagama" <[EMAIL PROTECTED]> wrote:

>   Is there a way to execute the Onclick event of a button working with
> Perl,Apache::Session and DBI?

You can't.

Button/OnClick is a client-side JavaScript stuff, nothing related
to mod_perl or DBI, server-side ones.


--
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>





Reply via email to