{"action":"opened","issue":{"url":"https://api.github.com/repos/ReactiveRaven/jqBootstrapValidation/issues/186","labels_url":"https://api.github.com/repos/ReactiveRaven/jqBootstrapValidation/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveRaven/jqBootstrapValidation/issues/186/comments","events_url":"https://api.github.com/repos/ReactiveRaven/jqBootstrapValidation/issues/186/events","html_url":"https://github.com/ReactiveRaven/jqBootstrapValidation/issues/186","id":118587437,"number":186,"title":"\"TypeError: obj is undefined\" in jQuery.each function with select","user":{"login":"FriendOfTheNight","id":9436937,"avatar_url":"https://avatars.githubusercontent.com/u/9436937?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendOfTheNight","html_url":"https://github.com/FriendOfTheNight","followers_url":"https://api.github.com/users/FriendOfTheNight/followers","following_url":"https://api.github.com/users/FriendOfTheNight/following{/other_user}","gists_url":"https://api.github.com/users/FriendOfTheNight/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendOfTheNight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendOfTheNight/subscriptions","organizations_url":"https://api.github.com/users/FriendOfTheNight/orgs","repos_url":"https://api.github.com/users/FriendOfTheNight/repos","events_url":"https://api.github.com/users/FriendOfTheNight/events{/privacy}","received_events_url":"https://api.github.com/users/FriendOfTheNight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T11:30:18Z","updated_at":"2015-11-24T11:30:18Z","closed_at":null,"body":"When using the Chosen library (https://github.com/harvesthq/chosen) with jqBootstrapValidation I'm getting \"TypeError: obj is undefined\" in the jQuery.each function every time I open the drop-down.\r\n\r\nThe issue is here:\r\n$.each($(el).triggerHandler(\"validation.validation\", params) || [], function (j, message) {\r\n errorsFound.push(message);\r\n });"}}