jacaScript Help
- Started
- Last post
- 6 Responses
- numero1
Why doesnt this validate to XHTML 1.0 Transitional?
onMouseOver= 'switchImage("i/papercardstock/B...
- gabriel_pc0
why are you using single quotes outside the javascript and double quotes inside?
- gabriel_pc0
try having it as onmouseover instead of onMouseOver, attributes in xhtml must be lower case
- numero10
Thanks gabriel...
I am just trying to work out by trial and error.
So where do the qoutes go? of which ones do I use?
- gabriel_pc0
technically the quotes don't really matter, it's just not very common to see them written that way...
onmouseover="myfunction('mystrin...
- unformatted0
when you run it through the validator it tells you why it doesn't validate.
- numero10
I made it validate like with the JS like:
onmouseover= 'switchImage("i/papercardstock/B...but not like this:
onmouseover= switchImage("i/papercardstock/Ba...Thanks ppl!