Home › Forums › CSS › jquery error “Object .sliderImage has no method ‘apply’ “ › Re: jquery error “Object .sliderImage has no method ‘apply’ “
June 14, 2013 at 5:46 am
#138689
CrocoDillon
Participant
Try
$(‘#myImageFlow ‘).on(“click touchstart”,”.sliderImage”,touchStart);
you want to give a reference to the function as parameter, what you’re doing with parentheses `touchStart()` is running the function and giving the return value as parameter.