Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Language="javascript" in input elements


Message #1 by "Oscar Eg Gensmann" <oscar@g...> on Sun, 28 Oct 2001 17:09:00 +0100
Hullo People :) 

 

My first message to this list so please let me know If i'm doing

something wrong :)

 

What I just want to know is if there is a way you can loose the

language="javascript" attrib which is put in input elements in the end

code when using the validation controls?

 

<input type="submit" name="tbSubmit" value="Submit" onclick="if

(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "

language="javascript" id="tbSubmit" />

 

The reason is that this attribut isn't allowed in the w3c XHTML 1.0

recommendation, whichs means that a application using validation

controls isn't able to go through a w3c.org validation, which would be a

shame :-)

 

Best Wishes

Oscar Eg Gensmann

--

ASP.NET Newbie :)




  Return to Index