mathiasbynens/jquery-placeholder
A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6070
- days_rel: n/a
- days_push: 2143
- n_releases_24m: 0
Adoption not part of the score
3921 stars · 1300 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A jQuery plugin that polyfills the HTML5 placeholder attribute for input and textarea elements in browsers without native support. It feature-detects native placeholder support, applies emulated behavior (including a styling class and correct .val() semantics) only where needed, and works down to IE6.
Use cases
- support placeholder text in old browsers like ie
- polyfill html5 placeholder attribute
- show placeholders in textarea for safari and opera
- add placeholder fallback to jquery forms
- make input values behave correctly while placeholder is showing
- style placeholder text consistently across browsers
When to choose
- you maintain a legacy site that must support IE6-9 or other browsers lacking native placeholder support
- your stack is already jQuery-based and you want a drop-in polyfill
- you need .val() to return an empty string while placeholder text is displayed, matching native behavior
When to avoid
- you only target modern browsers, which all support the placeholder attribute natively
- your project does not use jQuery (a vanilla polyfill would be lighter)
- you need actively developed software with new features or timely fixes
Facets
plugin · maturity maintenance
form-handling ui-components web-development frontend browser jquery-plugin polyfill html5-placeholder legacy-browser-support ie-compatibility form-inputs textareas
3 sources
- readme: https://github.com/mathiasbynens/jquery-placeholder · fetched 2026-08-28 · fbb443c0e646
- homepage: https://mths.be/placeholder · fetched 2026-08-29 · fb1a811ad20c
- registry_npm: https://registry.npmjs.org/jquery-placeholder · fetched 2026-08-29 · d46ac5fcf25f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mathiasbynens/jquery-placeholder | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mathiasbynens/jquery-placeholder")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem