Associate
- Joined
- 11 Oct 2008
- Posts
- 268
Hey,
I have been using this snippet of code to fire a function when a div is clicked.
Is it possible to change the onclick so it works with touchstart ?
I have been using this snippet of code to fire a function when a div is clicked.
Code:
<div class="top" onclick="moveUp()"></div>
Is it possible to change the onclick so it works with touchstart ?