Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Attaching to Particular Form Submissions

by erroneousBollock (Curate)
on Nov 28, 2007 at 06:28 UTC ( [id://653489]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (window.addEventListener) {
          window.addEventListener("load",setupEvents,false);
    ...
       } else {
          window.onload=setupEvents;
    }
    
  2. or download this
    function setupEvents(evnt) {
       document.forms[1].onsubmit=myAlert;
    ...
    function myAlert() {
            alert("gackerriffic");
    }
    
  3. or download this
        var isIE = /*@cc_on!@*/false; // is the browser Internet Explorer 
    +?
        var addEvent = !isIE
    ...
           });
         });
    
  4. or download this
      myNode.onevent = function() {
         // your code
         if (myNode.onevent) myNode.onevent.call(myNode,arguments);
      };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-24 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found