Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8470973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:40:00+00:00 2026-06-10T16:40:00+00:00

I have an HTML5/JavaScript app built for a car in-dash display unit that I

  • 0

I have an HTML5/JavaScript app built for a car in-dash display unit that I have been asked to port over to run in the browser.

Easy task, made some simple changes and now everything works fine in every desktop browser that I tried in.

Then, came problems. I was asked to specifically make sure it could run on an iPad for demonstration purposes.

THE ISSUE:

The app uses single page navigation, using jQuery.load to load in the necessary page fragments as the user navigates to different ‘screens.’ However, all of the jQuery bindings are centralized in one place so that they are performed on app startup, even though the elements they are binding to may not yet exist in the DOM.

That’s fine using jQuery.live or .on since they allow binding to future DOM elements. At least in desktop browsers.

In Mobile Safari, .live/.on simply do not work for binding to elements that do not yet exist.

I have an example to illustrate this problem here: http://dhines.com/jquery-test/

Notice that all of the ‘SHOULD WORK’ links do work in desktop browsers, but not Mobile Safari!

Looking around the web and SO, the only solution I have found would be to add onclick=”function(){}” to all of my clickable elements. This seems dumb.

The other option I see would be to decentralize my bindings and have them take place on the specific fragments that they apply to, but given the ton of fragments and bindings, this would not be fun.

Looking at my example, can anyone provide me with a better solution? Or perhaps point out whether I’m using .load incorrectly or something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T16:40:02+00:00Added an answer on June 10, 2026 at 4:40 pm

    I can not test this (I have no apple product), but a I have found a discussion on the jquery ticket system:

    http://bugs.jquery.com/ticket/5677#comment:7

    the trick seems to be to add { cursor : pointer } to the elements I have seen that your example doesn’t define this css property. Give this a try…

    Maybe Apple Safari developer thought that an click event doesn’t make sense on an element which doesn’t have curosr:pointer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a project i took over. it is an app that has been
Lets say I have an Android html5 app with a picture generated with Javascript
I have a legacy app that was built entirely in jQuery and HTML. Does
I have an HTML5/Javascript app, and I have used PhoneGap's build service to generate
I have a web app built with iweb kit that looks great in Android
I have a website/web app built with jquery mobile that I am trying to
Ive been given the task of localising a facebook app that is built in
We built our music-oriented app in html5 and javascript with Sencha touch. For distribution
I'm testing a new TeeChart HTML5/javascript and I have a problem with zoom. When
I have a question about Faking 3d in HTML5/Canvas/Javascript... Basically, I have a 2d

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.