{"action":"created","issue":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/300","labels_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/300/comments","events_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/300/events","html_url":"https://github.com/jzaefferer/jquery-validation/issues/300","id":2749081,"number":300,"title":"Checkbox/radio onclick validation fails with jQuery Mobile","user":{"login":"adammessinger","id":569068,"avatar_url":"https://avatars.githubusercontent.com/u/569068?v=3","gravatar_id":"","url":"https://api.github.com/users/adammessinger","html_url":"https://github.com/adammessinger","followers_url":"https://api.github.com/users/adammessinger/followers","following_url":"https://api.github.com/users/adammessinger/following{/other_user}","gists_url":"https://api.github.com/users/adammessinger/gists{/gist_id}","starred_url":"https://api.github.com/users/adammessinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammessinger/subscriptions","organizations_url":"https://api.github.com/users/adammessinger/orgs","repos_url":"https://api.github.com/users/adammessinger/repos","events_url":"https://api.github.com/users/adammessinger/events{/privacy}","received_events_url":"https://api.github.com/users/adammessinger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2012-01-06T16:49:46Z","updated_at":"2015-06-26T16:24:22Z","closed_at":"2015-06-26T16:24:22Z","body":"To get immediate validation feedback on these fields, I turned off onclick validation by setting the \"onclick\" option to \"false\" and triggered validation onchange instead:\r\n\r\n```javascript\r\n$('#form_to_validate').find('[type=\"checkbox\"], [type=\"radio\"]').change(function() {\r\n\t$(this).valid();\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/comments/115746024","html_url":"https://github.com/jzaefferer/jquery-validation/issues/300#issuecomment-115746024","issue_url":"https://api.github.com/repos/jzaefferer/jquery-validation/issues/300","id":115746024,"user":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T16:24:22Z","updated_at":"2015-06-26T16:24:22Z","body":"I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.\r\n\r\nTo the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. [We've documented how to do these things, too](https://github.com/jzaefferer/jquery-validation/blob/master/CONTRIBUTING.md). A patch is worth a thousand issues!"}}