Retourner au contenu associé (dépêche : Firefox 4 est sorti)
Posté par Bruno Michel (site web personnel) le 22 mars 2011 à 23:56. En réponse à la dépêche Firefox 4 est sorti. Évalué à 4.
Il y a effectivement un événement invalid que l'on peut attraper. Cf http://dev.w3.org/html5/spec/association-of-controls-and-forms.html#constraints
invalid
Sinon, il existe aussi un attribut validity pour savoir si un champ est valide ou non. Cf http://dev.w3.org/html5/spec/association-of-controls-and-forms.html#dom-cva-validity
validity
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Les formulaires JTML5 sont maintenant pris en charge
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Firefox 4 est sorti. Évalué à 4.
Il y a effectivement un événement
invalidque l'on peut attraper. Cf http://dev.w3.org/html5/spec/association-of-controls-and-forms.html#constraintsSinon, il existe aussi un attribut
validitypour savoir si un champ est valide ou non. Cf http://dev.w3.org/html5/spec/association-of-controls-and-forms.html#dom-cva-validity