From 4020abaeb1c67dd386dfc8f488e6015a1c9dcefb Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Wed, 23 Feb 2011 16:44:17 +0100 Subject: [PATCH] Avoid duplicate IDs for password inputs. Fixes #9. --- demo.html | 7 +++++-- jquery.placeholder.js | 18 +++++++++--------- jquery.placeholder.min.js | 4 ++-- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/demo.html b/demo.html index 2a094da..bb93c4f 100644 --- a/demo.html +++ b/demo.html @@ -17,13 +17,13 @@

HTML5 Placeholder jQuery Plugin

Check out the HTML5 Placeholder jQuery Plugin project page on GitHub.

$(function() {
$('input, textarea').placeholder();
});
-
+

-

+

@@ -31,6 +31,9 @@

HTML5 Placeholder jQuery Plugin