{"action":"created","issue":{"url":"https://api.github.com/repos/mathiasbynens/jquery-placeholder/issues/83","labels_url":"https://api.github.com/repos/mathiasbynens/jquery-placeholder/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/mathiasbynens/jquery-placeholder/issues/83/comments","events_url":"https://api.github.com/repos/mathiasbynens/jquery-placeholder/issues/83/events","html_url":"https://github.com/mathiasbynens/jquery-placeholder/issues/83","id":5101233,"number":83,"title":"Clicking on a input type\"reset\" will erase all textboxes with placeholders","user":{"login":"erickgirard","id":1326286,"avatar_url":"https://avatars.githubusercontent.com/u/1326286?v=3","gravatar_id":"","url":"https://api.github.com/users/erickgirard","html_url":"https://github.com/erickgirard","followers_url":"https://api.github.com/users/erickgirard/followers","following_url":"https://api.github.com/users/erickgirard/following{/other_user}","gists_url":"https://api.github.com/users/erickgirard/gists{/gist_id}","starred_url":"https://api.github.com/users/erickgirard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickgirard/subscriptions","organizations_url":"https://api.github.com/users/erickgirard/orgs","repos_url":"https://api.github.com/users/erickgirard/repos","events_url":"https://api.github.com/users/erickgirard/events{/privacy}","received_events_url":"https://api.github.com/users/erickgirard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2012-06-15T21:36:16Z","updated_at":"2016-01-11T08:56:05Z","closed_at":"2015-09-23T23:20:28Z","body":"I don't know if it's the intended behavior but if you add an <input type\"reset\" /> in your page and click on it every textboxes will be reset to empty and all placeholders values will be erased.\n\nIf I test the behavior of a placeholder on a browser that supports placeholders, the values are reset but placeholder values remains still there.\n\nIs there any workarounds ?"},"comment":{"url":"https://api.github.com/repos/mathiasbynens/jquery-placeholder/issues/comments/170471620","html_url":"https://github.com/mathiasbynens/jquery-placeholder/issues/83#issuecomment-170471620","issue_url":"https://api.github.com/repos/mathiasbynens/jquery-placeholder/issues/83","id":170471620,"user":{"login":"gaojing007","id":5900382,"avatar_url":"https://avatars.githubusercontent.com/u/5900382?v=3","gravatar_id":"","url":"https://api.github.com/users/gaojing007","html_url":"https://github.com/gaojing007","followers_url":"https://api.github.com/users/gaojing007/followers","following_url":"https://api.github.com/users/gaojing007/following{/other_user}","gists_url":"https://api.github.com/users/gaojing007/gists{/gist_id}","starred_url":"https://api.github.com/users/gaojing007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaojing007/subscriptions","organizations_url":"https://api.github.com/users/gaojing007/orgs","repos_url":"https://api.github.com/users/gaojing007/repos","events_url":"https://api.github.com/users/gaojing007/events{/privacy}","received_events_url":"https://api.github.com/users/gaojing007/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T08:56:05Z","updated_at":"2016-01-11T08:56:05Z","body":"I have the same problem,when call : $(\"#***Form\").resetForm();\r\nMy solution  is :  \r\n$('input,  textarea').removeClass(\"placeholder\"); // remove placehodel class \r\n$('input,  textarea').placeholder();"}}