Skip to content
Advertisement

Swipe Event on HTML

Im trying to make a swipe event , on page 1 its can be swipe to the page 2 , but from page 2 its not working , what is wrong here ? its only works on page 1 , what shall i do ? (Page mostly code , i need more char) Im trying to make a swipe event , on page 1 its can be swipe to the page 2 , but from page 2 its not working , what is wrong here ? its only works on page 1 , what shall i do ?

JavaScript

Advertisement

Answer

JavaScript
JavaScript

see i have used console.log to slove error. you have used all document event that not going to invoke just use one and you have used all p event that also not work instead use id for every p. i hope you satisfied.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement