You posted this question in an ASP.NET forum, so I thus assumed that you were looking for an ASP.NET solution.
You will have to write you own javascript methods to do the validation the way you wish. There is a server control called the CustomValidator. Here's the MSDN article about it:
http://msdn.microsoft.com/library/en...classtopic.asp
Using that web control you can point it at your own custom javascript methods that do the validation.
If you still don't want to use ANY ASP.NET controls, then you might want to try posting the question in a JavaScript forum.
-
Peter