SyntaxFix
Write A Post
Hire A Developer
Questions
Just add the code below in your input text:
onkeypress='return event.charCode == 46 || (event.charCode >= 48 && event.charCode <= 57)'