Difference between revisions of "User:ZeroOne/monobook.js"
Jump to navigation
Jump to search
m (addOnloadHook) |
m |
||
Line 1: | Line 1: | ||
addOnloadHook( | addOnloadHook( | ||
− | + | function() { | |
− | + | var stuff = document.getElementById('foobar').getAttribute('alt'); | |
+ | alert(stuff); | ||
+ | } | ||
); | ); |
Revision as of 16:19, 30 January 2010
addOnloadHook(
function() {
var stuff = document.getElementById('foobar').getAttribute('alt');
alert(stuff);
}
);