Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how do i call a perl script on onClick event of the button

by Chady (Priest)
on Jun 30, 2001 at 12:14 UTC ( #92887=note: print w/replies, xml ) Need Help??


in reply to how do i call a perl script on onClick event of the button

not actually Perl related, it's javascript related, and it won't run with JavaScript disabled browsers... your best bet is to use a submit button, other wise, add this to the input tag:

onClick = "self.location='your_perl_script.pl?with=possible&parameters +=passed';"

Replies are listed 'Best First'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://92887]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-06-23 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (555 votes). Check out past polls.