jquery.placeholder: Take placeholder text as parameter
authorrillke <rainerrillke@hotmail.com>
Thu, 18 Jul 2013 09:42:40 +0000 (11:42 +0200)
committerHoo man <hoo@online.de>
Fri, 26 Jul 2013 17:03:20 +0000 (17:03 +0000)
commita8145d6fa24d646cef42a09c14c5ed0fa769cfd7
tree92c8c95eb476082af2154bfc6abb831ea67bbfd3
parent59115b52b40bc534a30ae8c54b0dba3ea6a62d4c
jquery.placeholder: Take placeholder text as parameter

After this change, it will be possible to supply the text to be used as
a placeholder to the plugIn. Instead of doing:
$('<input type="text" />').attr({
        placeholder: "Placeholder text"
}).placeholder();

you can now simply do:
$('input#myInput')
.placeholder("Placeholder text");

after loading the plug-in.

Bug: 40430
Change-Id: I25255b2ef657f3215e64895d7905b984a1e9d59a
resources/jquery/jquery.placeholder.js