...

View Full Version : validator error code html5



CoolKay
05-28-2012, 07:17 PM
http://www.countyfairgrounds.net/ohio/ohio.php

Line 749 Attribute change not allowed on element select at this point

Here is the code
it has something to do with "on change" but I don't know how to fix this

<form name="menuForm">
<select name="menu" style="font-family: Verdana,Arial,Helvetica; font-size: 10px; color: purple;
font-weight:bold; "on change="top.location.href =this.options[this.selectedIndex].value;" >

VIPStephan
05-28-2012, 07:19 PM
<select name="menu" style="…" onchange="top.location.href =this.options[this.selectedIndex].value;" >

CoolKay
05-29-2012, 03:20 AM
thanks -- works



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum