Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS jquery error “Object .sliderImage has no method ‘apply’ “ Re: jquery error “Object .sliderImage has no method ‘apply’ “

#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.