Timeline for Jquery check if special char exists in text value
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 2, 2023 at 9:44 | vote | accept | sineverba | ||
| Sep 3, 2013 at 15:52 | answer | added | Daniel | timeline score: 3 | |
| Sep 3, 2013 at 15:39 | comment | added | Denys Séguret | @sineverba if you like your solution, post it as answer and accept it. | |
| Sep 3, 2013 at 15:39 | comment | added | sineverba | @Andrew Whitaker Solved with for (var k=0; k<chars.length; k++) { if ($.inArray(chars[k], SPECIAL_CHARS) > -1) { numberOfSpecialChars++; } } | |
| Sep 3, 2013 at 15:35 | history | edited | Denys Séguret | edited tags | |
| Sep 3, 2013 at 15:25 | answer | added | Denys Séguret | timeline score: 3 | |
| Sep 3, 2013 at 15:24 | comment | added | Andrew Whitaker | $.inArray takes value, array, not two arrays. | |
| Sep 3, 2013 at 15:23 | comment | added | Vogel612 | sorry to ask, but if you check for existance of any special-char, why not use regex? | |
| Sep 3, 2013 at 15:21 | history | asked | sineverba | CC BY-SA 3.0 |