Skip to content
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

jquery val() adapter fails comparing originalValue with numeric placeholder #62

Open
cea2k opened this issue Jan 20, 2014 · 0 comments
Open

Comments

@cea2k
Copy link

cea2k commented Jan 20, 2014

in IE8, if placeholder is numeric this test fails
originalValue === placeholder

so custom val() ends up returning originalValue which is the current placeholder, instead of ""

testing with == works!!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant