<commit_before>#Place Holder jQuery Plugin

This plugin will enable html5 placeholder attribute work in all browsers.

To use just include the plugin file along with jQuery. Then in your dom.ready function select the input elements you want to use then call `placeholder()` on them.

    (function($) {
        $(document).ready(function() {
            $(".placeholder").placeholder();
        });
    })(jQuery);

Your input elements need to have the placeholder attribute on them.

    <input class="placeholder" type="text" name="first-name" id="first-name" placeholder="Smith" />

##Feature Plans

Some sort of feature detection in order to let browsers who support placeholder work natively.

##About

Originally inspired by [@robertbanh](http://forrst.com/people/robertbanh)'s [post on Forrst](http://forr.st/~ylp). You can also find the code on [github](http://github.com/ajcates/placeholder).<commit_msg>updated the comments with the new input selector<commit_after>#Place Holder jQuery Plugin

This plugin will enable html5 placeholder attribute work in all browsers.

To use just include the plugin file along with jQuery. Then in your dom.ready function select the input elements you want to use then call `placeholder()` on them.

    (function($) {
        $(document).ready(function() {
            $("input[placeholder]").placeholder();
        });
    })(jQuery);

Your input elements need to have the placeholder attribute on them.

    <input type="text" name="first-name" id="first-name" placeholder="John" />

##Feature Plans

Some sort of feature detection in order to let browsers who support placeholder work natively.

##About

Originally inspired by [@robertbanh](http://forrst.com/people/robertbanh)'s [post on Forrst](http://forr.st/~ylp). You can also find the code on [github](http://github.com/ajcates/placeholder).

Also thanks to [@ejetzer](http://forrst.com/people/ejetzer) for suggesting a better way of selecting placeholder input elements.
{'fraction_non_alphanumeric': 0.10931174089068826, 'fraction_numerical': 0.0010121457489878543, 'mean_word_length': 4.188976377952756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6999324', 'n_tokens_mistral': 537, 'n_tokens_neox': 504, 'n_words': 213}