Do any browsers yet support HTML5's checkValidity() method?

Posted by James A. Rosen on Stack Overflow See other posts from Stack Overflow or by James A. Rosen
Published on 2010-03-10T22:42:43Z Indexed on 2010/05/27 16:01 UTC
Read the original article Hit count: 320

Filed under:
|
|
|

The HTML5 spec defines some very interesting validation components, including pattern (for validating against a Regexp) and required (for marking a field as required). As best I can tell, however, no browser yet actually does any validation based on these attributes.

I found a comparison of HTML5 support across engines, but there is no information about validation there. In the browsers I've tried (Firefox 3.5.8 and Safari 4.0.4), no object has a checkValidity() method, so I can't run the validations even though I can define them.

Is there any support for this feature out there so I can experiment?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about validation