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