<commit_before># Placeholder Polyfill for IE9
Described in this Socialcast engineering blog post:
[blog.socialcast.com/placeholder-polyfill-for-old-ie](http://blog.socialcast.com/placeholder-polyfill-for-old-ie/)

Working demo on this login page:
[press.socialcast.com](https://press.socialcast.com/login)
> Check it out if you're using IE < 10

## Required markup
Examples for `<input>` and `<textarea>` in [markup.html](/blob/master/markup.html).

### Server-side populated values
When the `<input>` or `<textarea>` is pre-populated with a value from the server-side, a class of `placeholder-state-hidden` must be added to the field, in order to hide the `<label>`.

## Required CSS
Defined in [style.css](/blob/master/style.css).

## JavaScript
Required code in [placeholder.js](/blob/master/placeholder.js).

Additional convenience plugins located in [plugins.js](/blob/master/plugins.js):<commit_msg>Fixed relative links to files<commit_after># Placeholder Polyfill for IE9
Described in this Socialcast engineering blog post:
[blog.socialcast.com/placeholder-polyfill-for-old-ie](http://blog.socialcast.com/placeholder-polyfill-for-old-ie/)

Working demo on this login page:
[press.socialcast.com](https://press.socialcast.com/login)
> Check it out if you're using IE < 10

## Required markup
Examples for `<input>` and `<textarea>` in [markup.html](markup.html).

### Server-side populated values
When the `<input>` or `<textarea>` is pre-populated with a value from the server-side, a class of `placeholder-state-hidden` must be added to the field, in order to hide the `<label>`.

## Required CSS
Defined in [style.css](style.css).

## JavaScript
Required code in [placeholder.js](placeholder.js).

Additional convenience plugins located in [plugins.js](plugins.js):
{'fraction_non_alphanumeric': 0.13077790304396844, 'fraction_numerical': 0.0033821871476888386, 'mean_word_length': 5.099656357388316, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '7669273', 'n_tokens_mistral': 551, 'n_tokens_neox': 522, 'n_words': 173}