Note: The touchstart event works only on touch screen devices.
object.ontouchstart = myScript;
Below program illustrates the touchstart event :
After touching the screen
Supported Web Browsers
- Internet Explorer
- Google Chrome
- Apple Safari