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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:50:14+00:00 2026-05-26T21:50:14+00:00

I have a simple app developed with jQuery Mobile and implemented in PhoneGap. It

  • 0

I have a simple app developed with jQuery Mobile and implemented in PhoneGap. It works fine in the iPad 4.3 simulator, but not on iPad 5.0 simulator and an actual iPad running iOS 5…

This is the head section of the html file:

<head>
    <meta charset="utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta content="width=device-width,minimum-scale=1,maximum-scale=1" name="viewport"/>
    <link rel="apple-touch-icon" href="icon.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="icon.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="icon.png"/>
    <title>App demo</title>
    <link rel="stylesheet" href="scripts/jquery.mobile-1.0rc2.min.css"/>

    <link href="css/style.css" rel="stylesheet" type="text/css"/>

    <script type="text/javascript" src="scripts/jquery-1.6.4.min.js"/>
    <script type="text/javascript" src="scripts/jquery.mobile-1.0rc2.min.js"/>
    <script type="text/javascript" src="scripts/general.js"></script>
    <script type="text/javascript" src="scripts/app.js"/>
</head>

When I run it on iPad simulator 4.3 everything works great. But on 5.0 it just shows a blank screen. Same with the actual iPad with iOS 5. If however I remove the script references it sort of “works” in that it shows the content of the HTML page, but of course without the styling and functionality of jQuery Mobile… Including any jQuery at all seems to break it, e.g. if i leave in only the reference to jquery-1.6.4.min.js it won’t work either. Or one of my custom js files for that matter.

Does anyone know what’s going on here? Does it have something to do with placement of the file references? I think I have placed them in the correct order (jQuery first, then jQuery mobile and then my custom js)… It doesn’t seem like it never works, I tried this app http://coenraets.org/blog/2011/10/sample-application-with-jquery-mobile-and-phonegap/ and that works fine. It has the script references rather strangely placed at the bottom of the file, just before the closing body tag. But I tried doing that too, and then the jQuery Mobile stuff didn’t kick in at all (although I could see the content).

And still, since it works in the 4.3 simulator I don’t think there is something really wrong with my code, but then why doesn’t it work in 5.0?

  • 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-05-26T21:50:14+00:00Added an answer on May 26, 2026 at 9:50 pm

    This question here on stack overflow seems to suggest that the UIWebView in iOS5 requires external script links to have an actual closing tag rather than simply ending with ‘/>’.

    Try to change the links to:

    <script type="text/javascript" src="scripts/jquery-1.6.4.min.js"></script>
    

    Does that change anything?

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

Sidebar

Related Questions

I have developed a simple application that uses APNS. The app runs fine and
I have started learning MVC2. I developed a simple customer search screen with Jquery
I have developed a simple DB-editing app using Xceed's excellent DataGrid for WPF (UX
I have developed a simple interactive Flash game, but now it appears that sometimes
Probably a simple question but I've developed an app that has always been using
I have developed a sample app on converting the doc to pdf file.But i
I have developed a very simple app that uses a custom adapter for a
Recently, I have a developed a very simple web app for a survey. I
i have some WinForms app (Framework to develop some simple apps), written in C#.
i have some WinForms app (Framework to develop some simple apps), written in C#.

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.