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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:08:28+00:00 2026-06-17T16:08:28+00:00

In my jQuery mobile (v 1.2) web site, I have several separate pages (i.e.

  • 0

In my jQuery mobile (v 1.2) web site, I have several separate pages (i.e. each page has one header, content and footer). The problem is I can’t link the pages. The following line is not working.
<a href="anotherpage.html">Another Page</a> shows “Error loading page”.

If I add rel="external" to the <a> element, it works. However, it turns off the automatic loading via Ajax. But I want to use the Ajax loading as well as keep the pages separate. Just wondering whether it’s possible.

Code Page 1

<!DOCTYPE html> 
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <title>Single page template</title> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
    <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js">  </script>
</head> 
<body> 
    <div data-role="page">
        <div data-role="header">
            <h1>Page 1</h1>
        </div>
        <div data-role="content">   
            <a href="b.html"> click me</a>
        </div>  
        <div data-role="footer">
            <h4>Footer content</h4>
        </div>
        </div>
</body>
</html>

Code Page 2

 <!DOCTYPE html> 
 <html>
 <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <title>Single page template</title> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
    <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js">      </script>
 </head> 
 <body> 
     <div data-role="page">
         <div data-role="header">
             <h1>Page 2</h1>
         </div>
         <div data-role="content">  
              page 2 content
         </div> 
         <div data-role="footer">
             <h4>Footer content</h4>
         </div>
    </div>
 </body>
 </html>
  • 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-17T16:08:29+00:00Added an answer on June 17, 2026 at 4:08 pm

    The problem is that you are trying to load your pages from the filesystem.
    Chrome settings prevents that, assuming that a security risk.

    Serve your pages with a web server. You can use IIS on Windows XP Pro for that.

    or

    You can start chrome with --allow-file-access-from-file command line option

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

Sidebar

Related Questions

I have created a web page using JQuery Mobile that has a link at
I have an MVC4 web app that needs 12 jQuery Mobile pages. Welcome Login
I have a small jQuery mobile site. it's all single .html file it's has
I have a jquery mobile web app. On my iPhone when I am on
I am building mobile web sites with Jquery Mobile. I also have a javascript-based
I have a quick question. I am using jQuery-Mobile for mobile web development. I
I have developed a jquery mobile application for my site http://tastykhana.in/m there is an
I'm making a HTML5 mobile website using jquery mobile. It has five pages in
I have a jquery mobile website that has simple select. I have successfully tested
I am working on a single-page web site targeted for mobile users (eventually going

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.