[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 603
  • Last Modified:

W3c validation error

I am getting w3c validation error.
Error description:
Line 231, Column 56: there is no attribute "onClick".
&lider1"><a class="" href="#" onClick="ContentSlider.turnpage('slider1', 0); r
<script language="javascript" type="text/javascript">ContentSlider("slider1", 8000)</script>
		 </div>  
<div id="paginate-slider1"><a class="" href="#" onClick="ContentSlider.turnpage('slider1', 0); return false" >1</a> <a class="" href="#" onClick="ContentSlider.turnpage('slider1', 1); return false">2</a> <a class="selected" href="#" onClick="ContentSlider.turnpage('slider1', 2); return false">3</a> <a class="" href="#" onClick="ContentSlider.turnpage('slider1', 3); return false">4</a> <a rel="3" href="#" style="font-weight: bold;" onClick="ContentSlider.turnpage('slider1', parseInt(this.getAttribute('rel'))); return false">Next</a></div>

Open in new window

0
sdugar
Asked:
sdugar
2 Solutions
 
nativestudiosCommented:
Hi sdugar,

You need to change any reference to 'onClick' to 'onclick' (ie. use lowercase). This should fix the problem.

Andy
0
 
SunnyDarkCommented:
Try "onclick"  - all lower case
0
 
sdugarAuthor Commented:
very fast ! I got the answer in a  minute!!!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now