diff --git a/jquery.placeholder.js b/jquery.placeholder.js index 54def14..a2c99d3 100644 --- a/jquery.placeholder.js +++ b/jquery.placeholder.js @@ -25,7 +25,7 @@ if (this.input[0].value == '' || (loading && this.valueIsPlaceholder())) { if (this.isPassword) { try { // IE doesn't allow us to change the input type - this.input[0].setAttribute('type', 'input'); + this.input[0].setAttribute('type', 'text'); } catch (e) { this.input.before(this.fakePassword.show()).hide(); }