facebook

JavaScript’s .Click

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #338497 Reply

    support-michael
    Keymaster

    >I’m hearing the iPhone does not support OnClick? Is this true?

    onclick events are generated by mobile safari (and UIWebView). Otherwise how would general websites work in mobile safari.

    Also if you are using canvas you should be aware of what level of api is supported by your target devices and os versions. I used raphael on a super simple system a while back with no issue. But I ran into issues with unsupported canvas features on ios. I forget the version of ios I was using but it was pre-ios 6.

    #338500 Reply

    Wayne,

    Will Touchstart and/or Touchend work in my case? Will it work on Raphael’s paper set()?

    Thanks

    Robert

    #338528 Reply

    Hi Rob,

    I really don’t know without experimenting. Consider posting a super small example of what you want to accomplish. Also have you googled to see what other have done, e.g., stackoverflow.

    #338537 Reply

    Hi Octavio,

    It works in the Test Center and as a web app for the Chrome browser. But not in apple’s mobile safari.

    I notice when it runs in the Test Center it runs as an iPhone native app. Again it runs perfect in Test Center but not on mobile safari.

    With that said this app should run perfectly on the iPhone device as a native app once I build it as an iOS app. Am I correct in this statement??

    I don’t really care about it not running on mobile safari. I just want to make sure it runs as a native app once it’s built.

    Please let me know.

    Thanks.

    Robert

    #338567 Reply

    Hey thanks guys… I got it to work.

    All I needed to do is use “Touchend” as oppose to “.Click” or “.onClick”.

    A complex problem that’s been resolved by a simple solution.

    Robert

Viewing 5 posts - 16 through 20 (of 20 total)
Reply To: JavaScript’s .Click

You must be logged in to post in the forum log in