Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: javascript

by faerloche (Sexton)
on Mar 16, 2001 at 08:30 UTC ( #64879=note: print w/replies, xml ) Need Help??


in reply to Executing CGI script via Javascript

You can use an onClick or onChange to execute a cgi-script by using redirection:
<HTML> <HEAD></HEAD> <BODY> <SCRIPT Language="Javascript"> function go_to() { document.location = "http://your-cgi-script.cgi"; } </SCRIPT> <IMG SRC="BLAH" onClick="go_to()"> </BODY>
Follow the good advice the others have given you for the script at the other end and you should be good to go.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://64879]
help
Chatterbox?
[marto]: puntastic
[choroba]: o'nest
[Eily]: yes we're pretty prawn to making puns around here
Eily went to the wiktionary to check that the pronunciations of prawn and prone are actually similar. Turns out prawn can be an alternative form of porn...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-06-29 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (662 votes). Check out past polls.