Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 chilling in the Monastery: (4)
As of 2014-07-26 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls