This is a small script, which change the alt attribute of all img (images) tags on the page:

$(document).ready(function() {

$(“img”).each(function(i) {

this.alt = ‘your new alt text’;

} );

})

Another complex script, which change the alt attribute of all img (images) tags on the page, to the title of the page, if the alt attribute is not set already.

$(document).ready(function() {

var title = $(“title”).html();

$(“img”).each(function(i) {

if(this.alt==”)

this.alt = title;

} );

})

JQuery makes the things as simpler as you cant imagine.