Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> JavaScript >> Snippet

Display all event handlers of an object


document.onClick is a property of document, so use FOREACH to walk through
for ( var X in Form) {
 document.write(X + '<br>' ) }
     or
 document.write Forms[X] }