W3C home > Mailing lists > Public > www-validator@w3.org > January 2005

[VE][108] Error Message Feedback

From: Brad M <braddm@gmail.com>
Date: Fri, 7 Jan 2005 13:35:51 -0600
Message-ID: <3dbf932d05010711357c7d553a@mail.gmail.com>
To: www-validator@w3.org

Thanks for taking the time to read my question.

I have an onClick event on my page, and the validator says it is incorrect.

Here is the message I get:

Line 331, column 91: there is no attribute "onClick"

...sor: hand; cursor: pointer;" onClick="GetCalNum('Prev'); document.imageName.s

The full line is

<map id="Dec04Map" name="Dec04Map">
	<area shape="rect" coords="60,25,75,36" href="javascript:void(0)"
onclick="NewMonth(EventDesc[0])" alt=""/>
</map>

<map id="Jan05Map" name="Jan05Map">
	<area shape="rect" coords="" href="javascript:void(0)"
onclick="NewMonth(EventDesc[1])" alt=""/>
</map>

<map id="Feb05Map" name="Feb05Map">
	<area shape="rect" coords="" href="javascript:void(0)"
onclick="NewMonth(EventDesc[1])" alt=""/>
</map>

What is wrong with what I am doing?  What do I fix to make it right.

Thanks again,

Brad
www.pierced.ca (my band web page)

-- 
Brad McIntyre
Received on Friday, 7 January 2005 19:36:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT