CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Fun With Perl: Perl Quizzes - Learn Perl the Fun Way:
How to het the Html Button Click event in Perl?

 



talk2mishal
Novice

Oct 7, 2008, 7:58 PM

Post #1 of 2 (26903 views)
How to het the Html Button Click event in Perl? Can't Post

Hi,
As i m newbie for the Perl With Html Button.
The scenario is like this:

I have HTML button in the perl Script.

I have to get the Data of Enable checkbox Data using the button click event in perl

And I have to copy/cut that Enable checkbox Data to the Other Folder in the SystemAnywhere.



Please provide some Source code or links.

Thanking you with an anticipation in advance.


FishMonger
Veteran / Moderator

Nov 8, 2008, 7:31 AM

Post #2 of 2 (25748 views)
Re: [talk2mishal] How to het the Html Button Click event in Perl? [In reply to] Can't Post


In Reply To
Hi,
As i m newbie for the Perl With Html Button.
The scenario is like this:

I have HTML button in the perl Script.

I have to get the Data of Enable checkbox Data using the button click event in perl

And I have to copy/cut that Enable checkbox Data to the Other Folder in the SystemAnywhere.



Please provide some Source code or links.


Perl does not have the "button click event" in cgi scripts, but it does have it in Tk scripts. So, what type of script are you writing?

If you're needing to retrieve the value of an HTML form field, then read the documentation for the CGI module, specifically the section on the param() method/function.
http://search.cpan.org/~lds/CGI.pm-3.42/CGI.pm

If you need the "click event" from a web page button, then you need to look at using javascript.


(This post was edited by FishMonger on Nov 8, 2008, 7:31 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives