Click event uncaught


am calling YouTube API using JQuery ajax call the function call by clicking on a button however it was working well using JQuery mobile but when i changed to ionic istart to get this error with every click on the DOM .
ps . am using JQuery 2.1.0

event.returnValue is deprecated. Please use the standard event.preventDefault() instead.ionic.bundle.js:1092


That’s just a warning and should be safe to ignore. Is your event not working as well? That’d be something else having a problem…


the event which call a function not working .


i got the same warning, js didn’t work