javascript - Uncaught TypeError in jQTouch -


i trying use swipe event in jqtouch. purpose, have code uses latest jqtouch.js . but, when try initialize this, error in browser console :

uncaught typeerror: undefined not function

the error present here in line :

 var jqt = new $.jqtouch({  });  

however, if not use line , swipe event not work, since, jqtouch dose not initialized.

i have no idea how solve . appreciated !

try using plugin here

https://github.com/senchalabs/jqtouch/blob/eb1291bf336462d7c5aa2521838ecf797395442a/src/reference/jqtouch.js

and can initialize using

var jqt = new $.jqtouch({  });  

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -