Open ribeirobreno opened 4 months ago
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. See:
.val
function call).val
)Thanks for the links! Happy to accept PRs for this.
Hey @fb55 can I work on the issue?
For sure! PRs welcome
Thanks @fb55 Could you please let me know which part of the source code I should change for? Thanks!
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: