W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

Off Validation Subject

From: Abyss <info@abyss.ws>
Date: Fri, 11 Feb 2005 19:43:33 +1100
Message-ID: <000801c51015$e99faa80$6501a8c0@hawkeye>
To: <www-validator@w3.org>
I know this is off validation subject but i did not know where else to post this...

I wish to validate a form with JavaScript , but the name attribute is not allowed in XHTML 1.1.

What is the correct way to validate form fields with JS?



ps js code is window.document.userid.value==''

userid = form field name

does anyone have any example codes?
Received on Friday, 11 February 2005 08:45:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC