Reputation: 5583
I am using JQtouch to simulate sliding / swiping events for a mobile application and i am trying to simulate it first in google chrome browser.
But, when i load the page I get this error :
Uncaught TypeError: Object [object Object] has no method 'live'
in JQtouch.js.
The stack trace in console is like this :
$.fn.tap jqtouch.js:1
addAnimation jqtouch.js:1
(anonymous function) jqtouch.js:1
c jquery-1.10.2.min.js:4
p.fireWith jquery-1.10.2.min.js:4
x.extend.ready jquery-1.10.2.min.js:4
I am not understanding what is causing this error . Any suggestions will be greatly appreciated.
Upvotes: 0
Views: 154
Reputation: 285
Try using the latest version from https://github.com/senchalabs/jQTouch which supports jQuery v2 as live() was deprecated in v1.7 and got removed in v1.9
Upvotes: 1