You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Javascript Console, run this: $("[name=search]").attr("placeholder", "Changed!");. Notice that the first text box has the placeholder text of "Changed"
Open the demo page in IE 9 or older
In the Javascript Console, run this: $("[name=search]").attr("placeholder", "Changed!");. Notice that the first text box's placeholder text is unchanged.
This also means that the placeholder text will not get cleared out on focus, since the value does not match the placeholder attribute value.
If this functionality is outside of the scope of this plugin, so be it. I just didn't see anything in the documentation that says that you can't do this.
The text was updated successfully, but these errors were encountered:
placeholder version: 2.3.0
jQuery version: 1.10.2
Browsers: IE 7-9 (couldn't test 6)
Reproduction Steps:
$("[name=search]").attr("placeholder", "Changed!");
. Notice that the first text box has the placeholder text of "Changed"$("[name=search]").attr("placeholder", "Changed!");
. Notice that the first text box's placeholder text is unchanged.This also means that the placeholder text will not get cleared out on focus, since the
value
does not match the placeholder attribute value.If this functionality is outside of the scope of this plugin, so be it. I just didn't see anything in the documentation that says that you can't do this.
The text was updated successfully, but these errors were encountered: