Timeline for How to allow numeric (0-9) & decimal value textbox using jQuery?
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 5, 2020 at 10:10 | review | Suggested edits | |||
| Mar 5, 2020 at 12:37 | |||||
| Jan 16, 2020 at 12:28 | comment | added | mstrd308 | Copy & paste by context menu of other characters will work :-( | |
| Dec 22, 2014 at 20:40 | comment | added | JB06 | I know this is an old post, but it's obviously still helpful because it helped me! Anyway, you haven't included the keypad's decimal, keyCode 110. | |
| Sep 12, 2014 at 5:53 | review | Suggested edits | |||
| Sep 12, 2014 at 6:24 | |||||
| Apr 1, 2014 at 15:33 | review | Suggested edits | |||
| Apr 1, 2014 at 15:34 | |||||
| Oct 11, 2012 at 19:14 | comment | added | Johan |
@Thomas then remove the check if its more than one dot: $(this).val().indexOf('.') !== -1 &&
|
|
| Oct 11, 2012 at 10:55 | comment | added | Johan | @Thomas I thought you wanted to allow 1 "dot"? Or shouldnt it be allowed at all? | |
| Oct 11, 2012 at 9:32 | comment | added | Thomas | still getting problem....please have look at edited part of my code. i use ur code but it still taking deciaml which i dont want. please tell me what i need to rectify. thanks | |
| Oct 11, 2012 at 9:18 | vote | accept | Thomas | ||
| Oct 11, 2012 at 8:49 | history | edited | Johan | CC BY-SA 3.0 |
added 67 characters in body
|
| Oct 11, 2012 at 8:40 | history | answered | Johan | CC BY-SA 3.0 |