I need to allow only numbers and one dot in text feild like 56.50, 67.00, 78, 98.05, .25, 0.50 etc
$('#psp').keyup(function() {
if number or dot
.............
.............
else
alert('oops... just entered an invalid character');
});
I would be really thankful if somebody can help :)