Posts

Showing posts from December 16, 2018

How to allow only numbers in javascript

function NumberOnly() {             var charCode = event.keyCode;             if ((charCode > 31 && (charCode < 48 || charCode > 57 || charCode == 46))               && ((charCode == 37 || charCode > 47) && (charCode < 48 || charCode > 58 || charCode                            ==       46))) {              return false;  }             return true   }

Popular posts from this blog

String Program in C#

CSV using XmlNode

Controller_Model. cs