Use ValidityState by using validity.valid on the target element. Example: //Using checkValidity() HTML: <input type="text" id="input3" ...
確定! 回上一頁