hi Experts this is my code in javascript.
function CheckSum()
{
var carCode = event.keyCode;
if ((carCode < 48) || (carCode > 57) )
{
event.cancelBubble = true
event.returnValue = false;
}
}
I have a textbox tied to this function and it is working great, it doesn't allow to get in letters just number but my question is how can I use this code and allow it to input also decimal points like:
5.4, 1.23333 , 0.445......The values need to be bigger than 0.1 and it doesn't need to accept only the value "0".
Thank you for your help!!.
Start Free Trial