Skip to content

WasanthaSampath/Numeric-TextBox-Validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Numeric-TextBox-Validation

Validation for html input elements

<input id="numericIdBox" />
<input class="numericClassBox" >

<script src="js/WasaNumeric.js"></script>
<script>
  Numeric(document.getElementById('numericIdBox'),4,2);
  Numeric(document.getElementsByClassName('numericClassBox'),10,2);
</script>

You can init simply call Numeric(element, digit, decimal)

About

Validation for html input elements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published