# jquery-placeholder

A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet

Canonical page: https://www.reposhelf.co.uk/projects/github/mathiasbynens/jquery-placeholder.html

- Project ID: mathiasbynens/jquery-placeholder
- Source: GitHub
- Original project: https://github.com/mathiasbynens/jquery-placeholder
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-03T12:10:31.850Z
- Demo page loaded: 2026-11-20T18:17:23.389Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> By default, .placeholder css class will be added. You can override default by passing the customClass option:

> You’ll still be able to use jQuery.val\(\) to get and set the input values. If the element is currently showing a placeholder, .val\(\) will return an empty string instead of the placeholder text, just like it does in browsers with a native @placeholder implementation. Calling .val\(''\) to set an element’s value to the empty string will result in the placeholder text \(re\)appearing.



## Author-documented requirements and audience

> By default, .placeholder css class will be added. You can override default by passing the customClass option:





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/mathiasbynens/jquery-placeholder/blob/master/README.md

Extraction checked: 2026-11-03T12:10:32.004Z

Last recorded source update: 2020-10-20T16:59:48.000Z

Saved release: v2.3.1 — 2015-12-17T04:33:28.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=mathiasbynens%2Fjquery-placeholder). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
