-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
Can't get button value using the val function #3951
Comments
Adding more context, jQuery documentation is a little misleading in stating that "val" will try to get the value from a specific list of tags. In fact, it will get the "value" attribute from anything that has this attribute in their DOM prototype.
|
Thanks for the links! Happy to accept PRs for this. |
Hey @fb55 can I work on the issue? |
For sure! PRs welcome |
Thanks @fb55 |
In the latest version (0.22.0), getting a button value is not possible with the
.val()
function.The code snippet above will return:
To match jQuery behavior, it should return:
The text was updated successfully, but these errors were encountered: