2016-07-05 41 views
1

事件,如touchstart,touchend不实际的iPad和铬仿真动画CC的JavaScripttouchstart事件不IPAD使用动画CC JavaScript的工作

element.addEventListener("touchstart", function f2_MouseClickHandler(e) { 
       correctAnswer(e, position, responseId); 
}.bind(self)); 
+0

'.on'是事件处理程序绑定jQuery函数。否则,你应该使用纯j的'ontouchstart'。只是为了确保你是否已经包含你的jQuery。 – choz

+0

@choz我改变了我的问题我使用纯JS –

回答