Forum Moderators: open

Message Too Old, No Replies

Validate xhtml with onChange in form

validation with attribute "onChange"

         

zyph

3:56 pm on Jan 4, 2005 (gmt 0)

10+ Year Member



I get this error when I try to validate my site with this doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Line 86, column 29: there is no attribute "onChange"

It's caused because of this lille select:

<select name="navi" onChange="go()">

What can I do? I need the onChange function ;) Thanks

encyclo

5:03 pm on Jan 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



XHTML is case-sensitive. It is therefore
onchange
not
onChange
. :)