Answers for "checkValidity"

0

checkValidity

var valid_part = document.getElementById("part");

if (valid_part.checkValidity()) {
  alert("Item Description contains no commas ");
}
else {
  alert("Item Description cannot contain a comma");
}
Posted by: Guest on August-12-2021

Code answers related to "checkValidity"

Code answers related to "Javascript"

Browse Popular Code Answers by Language