Inconsistent errors

When checking
http://www.telfordsteamrailway.co.uk/newstructure/members/exams.html

I am converting this from a very old script. To XHTML1.0 strict - I know -
don't ask - what the boss wants he gets.

I get 4 errors (same with page valet). 2 are straight forward - just need a
bit of CSS

But the other 2 error have me baffled

Line 59, Column 66: there is no attribute "name" .
../newstructure/members/exams.php" method="get" name="searchForm">

This is in a <form - there are 6 forms on this page, all with the same
construct, but this is the only one that fails - it is also the only one
with "get". 

I know 'name' is deprecated on xhtml strict - but why is this the only one
to fall over?

I will be adding 'id' - but like to have 'id' and 'name') - as I am not sure
- yet - how to use the 'id' instead of the 'name' in the javascript

Line 67, Column 45: there is no attribute "onClick" . .type="button"
value="Search" onClick='submitActForm(document.searchForm, 

This is in an <input type="button" . There are 10 of these all with onClick
- but this is the only one that fails -
should that be 'onclick'? = but why is this the only one to fail?

DUHH - I'm feeling a little thick this morning

Advice appreciated

Allan

 

Received on Wednesday, 16 April 2008 12:25:35 UTC