Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Perl CGI multiple buttons

by 7stud (Deacon)
on Feb 26, 2013 at 01:55 UTC ( #1020596=note: print w/replies, xml ) Need Help??

in reply to Perl CGI multiple buttons

In second form there are couple of buttons. I want a code call sub routines within second form.

If by that you mean: when a user clicks on one of those buttons, you want to execute some code, then the best solution would be to write some javascript that intercepts the click and executes the code--all within the client browser.

The javascript code could also send a request to a server which then executes a cgi script and returns the results to the javascript code. You might need to do that if you needed to retrieve some dynamically changing data from a database.

Because of telnet session, i want to continue in second page itself

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication

So there are no buttons in telnet.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-06-19 21:00 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.