Hi, I've been playing around with a little bit of javascript but I can't make it validate. I have to use the onLoad attribute in the body to start a timer off, and the name attribute in an image tag to reload it after timeout (webcam). the XHTML 1.1 checker doesn't much like either of these things.
Is there any way I can achieve what I want and comply?
example is at:
http://www.aqpj48.dsl.pipex.com/webcam/webcam.html
ta muchly.
-Mal
javascript and 1.1
All i know is the name attribute was deprecated back in XHTML 1.0
javascript and 1.1
Hi MalphasWats,
onLoad should be onload, in xhtml all tag attributes should be in lower case.
Hope that helps
javascript and 1.1
doh! didn't notice that one! Thanks Tony.
I know that the name attribute has been deprecated, but id doesn't seem to be passed into scripts and stuff?
-edit scratch that, it does work without the name attribute, I must have done that change more than one thing at a time thing, which is always bad.
I'm all compliant and happy now.