Browse files

Merge pull request #2 from gbirke/color_param

Documentation for the color parameter
  • Loading branch information...
Strangemother committed Jun 16, 2011
2 parents 20e41da + e3f81a0 commit c78806ec47d509a7ea9d4706e3844866b69c00f0
Showing with 9 additions and 1 deletion.
  1. +9 −1 README.rst
@@ -70,7 +70,7 @@ Your pretty much good to go! - read more for additional parameters.
-You may pass two parameters into the plugin.
+You may pass three parameters into the plugin.
1. The placeholder text:
@@ -89,6 +89,14 @@ You may pass two parameters into the plugin.
$('#search').placeholder('Type your tags...', true);
by default this is false. It doesn't matter which is the first passed value.
+3. Overriding the default placeholder color.
+ While the input element will get the ``.placeholder`` class which can be styled with CSS,
+ the color of the placeholder text is set inside the plugin. You can configure the color
+ with a third parameter:
+ $('#search').placeholder('Type your tags...', true, '#ffcccc');

0 comments on commit c78806e

Please sign in to comment.