3 my @stuff = split(",", "blur,focus,load,resize,scroll,unload,click,dblclick," .
4 "mousedown,mouseup,mousemove,mouseover,mouseout,change,reset,select," .
5 "submit,keydown,keypress,keyup,error");
11 * Bind a function to the $_ event of each matched element.
13 * \@example \$("p").$_( function() { alert("Hello"); } );
14 * \@before <p>Hello</p>
15 * \@result <p on$_="alert('Hello');">Hello</p>
19 * \@param Function fn A function to bind to the $_ event on each of the matched elements.
24 * Trigger the $_ event of each matched element. This causes all of the functions
25 * that have been bound to thet $_ event to be executed.
27 * \@example \$("p").$_();
28 * \@before <p on$_="alert('Hello');">Hello</p>
29 * \@result alert('Hello');
37 * Bind a function to the $_ event of each matched element, which will only be executed once.
38 * Unlike a call to the normal .$_() method, calling .one$_() causes the bound function to be
39 * only executed the first time it is triggered, and never again (unless it is re-bound).
41 * \@example \$("p").one$_( function() { alert("Hello"); } );
42 * \@before <p on$_="alert('Hello');">Hello</p>
43 * \@result alert('Hello'); // Only executed for the first $_
47 * \@param Function fn A function to bind to the $_ event on each of the matched elements.
52 * Removes a bound $_ event from each of the matched
53 * elements. You must pass the identical function that was used in the original
56 * \@example \$("p").un$_( myFunction );
57 * \@before <p on$_="myFunction">Hello</p>
58 * \@result <p>Hello</p>
62 * \@param Function fn A function to unbind from the $_ event on each of the matched elements.
67 * Removes all bound $_ events from each of the matched elements.
69 * \@example \$("p").un$_();
70 * \@before <p on$_="alert('Hello');">Hello</p>
71 * \@result <p>Hello</p>