Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Executing a function on submit

by voyager (Friar)
on Jul 30, 2001 at 18:58 UTC ( [id://100890]=note: print w/replies, xml ) Need Help??


in reply to Executing a function on submit

Javascript in the browser is the answer. There are a number of ways, but probably you want an onClick event on the button that does something like document.write("tada")

Note: there are several ways to detect events that can trigger Javascript, and there are a mulititude of ways to get content written to the browser. Now, if you want to get cross-browser compliant, it gets trickier.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found