Difference between revisions of "User:ZeroOne/monobook.js"
Jump to navigation
Jump to search
(well, not working.) |
m (testing) |
||
Line 1: | Line 1: | ||
− | + | var image = document.getElementById('foobar').getAttribute('alt'); | |
+ | if( image ) { | ||
+ | alert(image); | ||
+ | } |
Revision as of 15:49, 30 January 2010
var image = document.getElementById('foobar').getAttribute('alt');
if( image ) {
alert(image);
}