jamesallardice/Placeholders.js

jquery val() adapter fails comparing originalValue with numeric placeholder

Opened this issue · 0 comments

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!!.