[thelist] Javascript and mozilla conundrum

Jeff Howden jeff at jeffhowden.com
Thu Jul 24 04:13:12 CDT 2003


> From: Karl Bunyan
> You need an id as well as a name attribute on the image
> tag.

a nice to have (sometimes), but not necessary.

minus the missing alt attribute on the <img> tag, the page validates as is:


> I think document.images is deprecated so you should
> probably support document.getElementById as well.

nope, dom 0 things like the forms array, elements arrays, images, arrays,
links arrays, etc. aren't deprecated  and aren't going away anytime soon (if
ever in our "lifetime").  2 points to you for using the right word though.


Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/

More information about the thelist mailing list