Most voted "touch-events" questions
3 questions
Sort by count of
-
1
votes2
answers161
views'addeventlistener is not a Function', why does this occur?
Hello! In my code the console displays me the following error: Uncaught Typeerror: d.addeventlistener is not a Function, I use Jquery. I already changed the addeventlistener for on, does not return…
-
1
votes1
answer107
viewsHow to detect if the device is touch in pure javascript?
I need to add touch events only if necessary. If the device is not touch, I will only add mouse events. For this, I need to check and have a return. It is important, if possible, that the code is in…
-
-1
votes2
answers36
viewsHow to run the same Javascript function for more than one div
I have a slide carousel and I need to play this same carousel (only with different images and sections) on the same page. I will make this application for a blog, so there are several categories…