I have a function that rolls out a new image if success:
function changeimage(img_name) {
document[img_name].src=‘/images/user/dot-success.gif’;
}
Is there anyway I can change the title (title=“”) or/and alt (alt=“”) of that same image?
Thanks
Ryan