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 8689025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:31:52+00:00 2026-06-12T23:31:52+00:00

I have a small web app that is nothing more than a few HTML

  • 0

I have a small web app that is nothing more than a few HTML pages. I wish to use the jQuery UI dialog within my app and I have it working in the browser on my Mac and PC (Sarafi, Chrome, Firefox) and I have deployed to android (Xoom 2) and all is well however the dialog is not fired when I test on the iPad (IPad 2). I’ve also noticed that the DIV which contains the dialog content is not hidden when viewing the page on the iPad.

Here’s my JS code…

$('#entry_level_phones .boxHolder').live("click", function(){

    var clickedItem = $(this).find("img")[0].id;

    console.log(clickedItem);
    // raise a modal...
    $(function() {
        $( "#dialog-modal" ).dialog({
            modal: true,
            draggable:false,
            height:600,
            position:"center",
            resizable:false,
            width:1000
        });

   // more happens here which isn't important... but there is no conflict or error
  });
});

this is the associated DIV…

<div id="dialog-modal" title="">
    <p>Hello World</p>
</div>

When testing by putting an alert() to see if the click event is being raised the test alert is executed, so it is not an issue with the click event, it is the dialog itself or jQuery UI isn’t being loaded.

I also tried to raise a dialog like this, without being associated with a DIV or an event but even this didn’t work

$( "<div>this is a test</div>" ).dialog()

Has anyone else had issues using the dialog with the iPad?

I’m not sure if this is relevant however my app is one mainHTML file that brings in HTML content using the .load() method

  • 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-12T23:31:53+00:00Added an answer on June 12, 2026 at 11:31 pm

    Sorry to answer my own question but I put a check in to see if the UI was being loaded…

    var isiPad = navigator.userAgent.match(/iPad/i) != null;
    
    if(!jQuery.ui && isiPad == true){
        // do stuff...
        }
    

    I thought about dynamically appending the UI script back to the body of my webpage however I was using the hosted version of jQuery UI. When I replaced this for a local version by downloading the problem seemed to go away… thus the answer is the hosted version was taking too long to load or not loading at all. Sorry for the drama…

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

Sidebar

Related Questions

I have small web app that generate PDF files as a report. I'm trying
I am developing a small web app that uses jQuery quite a lot. In
I am making a small web app that allows users to submit html, css
I have a small web app that uses a simple username/password login scheme. I've
I have a web app that I provide to small to medium-sized businesses as
I have a small web app I wrote that has a Dijit.layout.BorderContainer nested within
I'm building a small web app with Python on GAE. I have an HTML
I have a small web app that I'm in the process of deploying to
I have an embedded glassfish server and a small web app. I want to
So I have been developing a small ASP.NET web app in C# for my

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.