Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: I want to change ALT property of Image Object - June 10, 1998 at 03:25:46

You are here: irt.org | BBS | Re: I want to change ALT property of Image Object [This BBS is closed]

Posted by Martin Webb on June 10, 1998 at 03:25:46:

In Reply to: I want to change ALT property of Image Object posted by Urvish on June 09, 1998 at 19:11:27:

: I want to change ALT property of Image Object in JavaScript.

Netscape does not even provide access to the alt property of the Images object from JavaScript.

Therefore you will not be able to update it.

To test whether an object has the property you require you can always get JavaScript to reveal the object properties for you using the following type of code:

output ='';
for (var i in document.images[0]) {
output += i + '\n';
}

alert (output)

To test it out copy and paste the following into the location bar of the browser:

javascript:output =''; for (var i in document.images[0]) { output += i + '\n'; }; alert (output);
Follow-ups:

You are here: irt.org | BBS | Re: I want to change ALT property of Image Object [This BBS is closed]

©2018 Martin Webb