{"id":18013414,"url":"https://github.com/milly/jquery_placeholder","last_synced_at":"2025-04-04T14:22:12.807Z","repository":{"id":66495215,"uuid":"1639764","full_name":"Milly/jquery_placeholder","owner":"Milly","description":"HTML5 placeholder attribute enabler in old browsers.","archived":false,"fork":false,"pushed_at":"2011-04-20T10:11:51.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T14:44:20.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Milly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-20T09:46:17.000Z","updated_at":"2014-04-22T18:51:37.000Z","dependencies_parsed_at":"2023-02-20T05:15:45.050Z","dependency_job_id":null,"html_url":"https://github.com/Milly/jquery_placeholder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fjquery_placeholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fjquery_placeholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fjquery_placeholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fjquery_placeholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Milly","download_url":"https://codeload.github.com/Milly/jquery_placeholder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190599,"owners_count":20898788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T03:21:29.421Z","updated_at":"2025-04-04T14:22:12.775Z","avatar_url":"https://github.com/Milly.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Form Placeholder\n[HTML5 `placeholder` attribute](http://www.w3.org/TR/html5/common-input-element-attributes.html#the-placeholder-attribute) enabler in old browsers.\n\n## Requirements\n* [jQuery](http://jquery.com) 1.3 or later\n\n## Author\n* Milly \u003chttp://d.hatena.ne.jp/MillyC/\u003e\n\n## Lisence\n* Creative Commons BY-SA \u003chttp://creativecommons.org/licenses/by-sa/3.0/\u003e\n\n## Usage\n\nOptions:\n\n* `enabled`  {Boolean} - enabled placeholder (Default: auto)\n* `elements` {String}  - form elements selector (Default: ':text,:password,textarea')\n* `attr`     {String}  - placehold message attribute (Default: 'placeholder')\n* `color`    {String}  - placehold color (Default: 'silver')\n* `cssClass` {String}  - placehold class (Default: 'placeholder')\n* `message`  {String}  - placehold message (Default: '')\n\nHTML Example:\n\n\t\u003cform\u003e\n\t  \u003cinput type=\"text\" name=\"name\" placeholder=\"Your name\" /\u003e\n\t  \u003cinput type=\"text\" name=\"email\" placeholder=\"Your e-mail\" /\u003e\n\t\u003c/form\u003e\n\nScript Example:\n\n\t// Setup placeholder\n\t$('form').placehold();\n\t// Disable placeholder\n\t$('form').placehold({enabled:false});\n\t// Set placehold color and message\n\t$(':text[name=email]').placehold({ color: '#ff8888', message: 'Your e-mail' });\n\t// Set global options\n\t$.fn.placehold.conf.color = '#ff8888';\n\t// Get Placeholder instance, and clear placehold message\n\t$('#email').data('placehold').clear();\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilly%2Fjquery_placeholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilly%2Fjquery_placeholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilly%2Fjquery_placeholder/lists"}