Click event uncaught


#1

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


#2

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…


#3

the event which call a function not working .


#4

i got the same warning, js didn’t work