Timeline for Removing spaces from text filed value in JavaScript
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 20, 2014 at 12:30 | vote | accept | AddyProg | ||
| S Aug 20, 2014 at 6:54 | history | suggested | Viktor Bahtev | CC BY-SA 3.0 |
Formating and fixed demo
|
| Aug 20, 2014 at 6:52 | answer | added | CodingIntrigue | timeline score: 0 | |
| Aug 20, 2014 at 6:52 | review | Suggested edits | |||
| S Aug 20, 2014 at 6:54 | |||||
| Aug 20, 2014 at 6:51 | answer | added | Eugene Obrezkov | timeline score: 1 | |
| Aug 20, 2014 at 6:51 | comment | added | CodingIntrigue | I updated your Fiddle to add the code in the correct place. This isn't a text field though, it's a number field. | |
| Aug 20, 2014 at 6:50 | history | edited | CodingIntrigue | CC BY-SA 3.0 |
edited body
|
| Aug 20, 2014 at 6:47 | history | edited | AddyProg | CC BY-SA 3.0 |
added 56 characters in body
|
| Aug 20, 2014 at 6:42 | comment | added | jfriend00 |
.replace(/\s+/g, ''); will remove spaces so if that isn't working, then something else is wrong with your code that you aren't showing us.
|
|
| Aug 20, 2014 at 6:39 | comment | added | Mritunjay | can you add a fiddle? | |
| Aug 20, 2014 at 6:39 | history | asked | AddyProg | CC BY-SA 3.0 |