Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8119

ontouchstart and iOS

Date 2011-11-08 13:33 +1100
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject ontouchstart and iOS
Message-ID <o72dnaRTpINmCSXTnZ2dnUVZ_hKdnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


I've set this handler

window.ontouchstart = myFunc;

and it triggers on iOS 5 devices but seems to be ignored on iOS 4 
devices. I don't get any errors it just seems to be ignored. Attaching 
ontouchstart to BODY gets ignored by both iOS 4 and 5.

Is there a reliable way to get iOS to recognise ontouchstart anywhere on 
the page?

Andrew Poulos

Back to comp.lang.javascript | Previous | NextNext in thread | Find similar | Unroll thread


Thread

ontouchstart and iOS Andrew Poulos <ap_prog@hotmail.com> - 2011-11-08 13:33 +1100
  Re: ontouchstart and iOS Andrew Poulos <ap_prog@hotmail.com> - 2011-11-08 14:22 +1100
    Re: ontouchstart and iOS David Mark <dmark.cinsoft@gmail.com> - 2011-11-08 03:26 -0800
  Re: ontouchstart and iOS David Mark <dmark.cinsoft@gmail.com> - 2011-11-08 03:13 -0800

csiph-web