0

Hello.
Experiencing validadion error when i validate at http://validator.w3.org/#validate_by_input.
The affected area is this.

<form id="menu" name="nav_old_notes" action="onClick"><span>Välj vilket protokoll du vill se.</span>
		<select name="old_notes">
			<option selected="selected">Välj månad!</option>
			<option value="protjan.odt">Januari</option>
			<option value="protfeb.odt">Februari</option>
		</select>
		<input type="button" onClick="location=document.nav_old_notes.old_notes.options[document.nav_old_notes.old_notes.selectedIndex].value;" value="Visa">
	</form>

The validator says that onClick is not an atribute and I better make it in css.
I have the id menu for this but how do i write the "happening" part (onClick in the code) to css.

Thankfull for help.

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by rannamaa
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.