{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7147","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7147/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7147/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7147/events","html_url":"https://github.com/wet-boew/wet-boew/issues/7147","id":111910469,"number":7147,"title":"Help with form submit intercept","user":{"login":"rlambert27","id":1738230,"avatar_url":"https://avatars.githubusercontent.com/u/1738230?v=3","gravatar_id":"","url":"https://api.github.com/users/rlambert27","html_url":"https://github.com/rlambert27","followers_url":"https://api.github.com/users/rlambert27/followers","following_url":"https://api.github.com/users/rlambert27/following{/other_user}","gists_url":"https://api.github.com/users/rlambert27/gists{/gist_id}","starred_url":"https://api.github.com/users/rlambert27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlambert27/subscriptions","organizations_url":"https://api.github.com/users/rlambert27/orgs","repos_url":"https://api.github.com/users/rlambert27/repos","events_url":"https://api.github.com/users/rlambert27/events{/privacy}","received_events_url":"https://api.github.com/users/rlambert27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T21:00:27Z","updated_at":"2015-10-19T14:56:28Z","closed_at":null,"body":"Hello,\r\n\r\nNeed a bit of help with this page: https://ssl-templates.services.gc.ca/app/cls/WET/gcweb/v4_0_18/samples/exitscript-dev-en.shtml\r\n\r\nI'm using \r\n\r\n```\r\n$('#wb-srch-sub, #wb-srch-sub-imprt').click(function(event){\r\n```\r\n\r\nTo intercept the form submit button and run some code. This works great when the site is in desktop mode but when it switches to mobile it no longer works. I tried:\r\n\r\n```\r\n$('#wb-srch-sub, #wb-srch-sub-imprt').on('vclick', function(event) {\r\n```\r\n\r\nThat doesn't intercept the form submit button either.\r\n\r\nIdeas?\r\n\r\nRoch"},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/149239500","html_url":"https://github.com/wet-boew/wet-boew/issues/7147#issuecomment-149239500","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/7147","id":149239500,"user":{"login":"rlambert27","id":1738230,"avatar_url":"https://avatars.githubusercontent.com/u/1738230?v=3","gravatar_id":"","url":"https://api.github.com/users/rlambert27","html_url":"https://github.com/rlambert27","followers_url":"https://api.github.com/users/rlambert27/followers","following_url":"https://api.github.com/users/rlambert27/following{/other_user}","gists_url":"https://api.github.com/users/rlambert27/gists{/gist_id}","starred_url":"https://api.github.com/users/rlambert27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlambert27/subscriptions","organizations_url":"https://api.github.com/users/rlambert27/orgs","repos_url":"https://api.github.com/users/rlambert27/repos","events_url":"https://api.github.com/users/rlambert27/events{/privacy}","received_events_url":"https://api.github.com/users/rlambert27/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T14:56:28Z","updated_at":"2015-10-19T14:56:28Z","body":"Tried that:\r\n\r\n```\r\n$( \".cse-search-box\" ).submit(function( event ) {\r\n```\r\n\r\nNot working for some reason. In all cases Firebug does not give any JS errors."}}