Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #checkValidity
ADD COMMENT
Topic
Name
7+8 =