Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.


Comment on Re: Perl CGI multiple buttons

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-09-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (146 votes), past polls