Tag

only

  • Total Source Code 1
  • Total Page : 1
  • You currently on page number : 1

Only Input Number in HTML Input Element Using Javascript

  • 10 July 2014
  • 484
  • javascript,input,number,only

This code use for Input element of HTML only number insert.   Javascript :   function OnlyNumber(pasarkode) { var charCode = (pasarkode.which) ? pasarkode.which : event.keyCode; if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57)) return false; return true; }   HTML Read more




Category