The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › onclick not working in tablet
i have imageslider which is not working on tablet because i have use onclick everywhere. but when i write,
$(‘#myImageFlow’).on(“touchstart”,”.sliderImage”, function(event){ alert(‘i am on method ‘+event.type);
});
this line is my slider then alert is printed and slider works , if i try replacing alert with
console.log(‘on method ……’+event.type);
then it is not working , what would be the problem please help .