We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select с options с пустым value (если value не пустое, то все ок):
<select> <option value="">123</option> </select>
Dom7: $('select').val() == '123' //Берет значение не с value Для сравнения, JQuery: $('select').val() == '' //Пустая строка
The text was updated successfully, but these errors were encountered:
Вот тут на стеке эта тема: https://stackoverflow.com/questions/5598859/how-to-retrieve-empty-option-value-if-its-empty
Sorry, something went wrong.
No branches or pull requests
Select с options с пустым value (если value не пустое, то все ок):
Dom7: $('select').val() == '123' //Берет значение не с value
Для сравнения, JQuery: $('select').val() == '' //Пустая строка
The text was updated successfully, but these errors were encountered: