Как лучше всего проверить пустую строку с помощью готового jquery? ⇐ Jquery
Как лучше всего проверить пустую строку с помощью готового jquery?
What is the best way to test for an empty string with jquery-out-of-the-box, i.e. without plugins? I tried this.
But it did't work at least out-of-the-box. It would be nice to use something that's builtin.
I wouldn't like to repeat
if (a == null || a=='') everywhere if some if (isempty(a)) would be available.
Источник: https://stackoverflow.com/questions/181 ... of-the-box
What is the best way to test for an empty string with jquery-out-of-the-box, i.e. without plugins? I tried this.
But it did't work at least out-of-the-box. It would be nice to use something that's builtin.
I wouldn't like to repeat
if (a == null || a=='') everywhere if some if (isempty(a)) would be available.
Источник: https://stackoverflow.com/questions/181 ... of-the-box
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Почему мой ответ всегда представляет собой пустую пустую строку? [закрыто]
Anonymous » » в форуме Php - 0 Ответы
- 93 Просмотры
-
Последнее сообщение Anonymous
-
-
-
C# – Компиляция готового приложения/Использование файла изнутри приложения?
Anonymous » » в форуме C# - 0 Ответы
- 13 Просмотры
-
Последнее сообщение Anonymous
-