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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:19:45+00:00 2026-06-06T17:19:45+00:00

I am using the library 1.1. I am trying to get a simple dialog

  • 0

I am using the library 1.1. I am trying to get a simple dialog to display, I dont want to load a page I just want to show a div tags content from the same page.

Do I need to add any special jquery references other than the standard 1.1 reference?

Lets say I have this

   <a href="#dialog" data-role="button" data-rel="dialog" data-transition="fade" data-inline="true">Find</a>

        <div data-role="dialog" id="dialog">
            <div data-role="header" data-theme="e">
                <h1>Foo</h1>
            </div>
            <div data-role="content" data-theme="e">
                <p>Bar</p>
            </div>
        </div>

What do I need to do to a page to get when clicking the button the dialog to appear?

Full output html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Plenfy</title>
<meta name="viewport" content="width=device-width" />
<script type="text/javascript" src="../../Scripts/jquery-1.7.1.js"></script>
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="/Content/mobile/jquery.mobile-1.1.0.css" rel="stylesheet" type="text/css"      />

        <img src="/Content/mobile/images/logo-80.png"/>
 <p>
 </p>
 <ul data-role="listview" data-inset="true">
<li><a href="/Account/join">Join</a></li>
<li><a href="/Account/Login">Log In</a></li>
<li><a href="/contact-us">Contact Us</a></li>
</ul>   
       </div>
        <div data-role="page" id="start">
            <a href="#dialog" data-role="button" data-rel="dialog" data-transition="fade" data-inline="true">Find</a>
        </div>
        <div data-role="dialog" id="dialog">
            <div data-role="header" data-theme="e">
                <h1>Foo</h1>
            </div>
            <div data-role="content" data-theme="e">
                <p>Bar</p>
            </div>
        </div>
        ?



    </div>

</div>

<script src="/Scripts/mobile/jquery-1.6.4.js" type="text/javascript"></script>

  • 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-06T17:19:47+00:00Added an answer on June 6, 2026 at 5:19 pm

    Don’t forget to include jQuery Mobile (css AND js) and jQuery core 1.6.4 OR 1.7.1 as stated in the jQuery Mobile Docs.

    And make sure your page structure is valid:

    <div data-role="page" id="start"> 
        <a href="#dialog" data-role="button" data-rel="dialog" data-transition="fade" data-inline="true">Find</a>
    </div> 
    
    <div data-role="dialog" id="dialog">
        <div data-role="header" data-theme="e">
            <h1>Foo</h1>
        </div>
        <div data-role="content" data-theme="e">
            <p>Bar</p>
        </div>
    </div>​
    

    Working jsfiddle example

    Update according to your full html:

    Don’t including jQuery 1.7.1 AND 1.6.4, remove the script tag for jQuery 1.6.4 and include jQuery Mobile JS instead after including jquery 1.7.1. Your includes should look like this:

    <script type="text/javascript" src="../../Scripts/jquery-1.7.1.js"></script>
    <script type="text/javascript" src="/Content/mobile/jquery.mobile-1.1.0.js"></script>
    <link href="/Content/mobile/jquery.mobile-1.1.0.css" rel="stylesheet" type="text/css"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to login using the library Mechanize. This the output i get
I am trying to load a shared library using: System.loadLibrary(sharedC); sharedC is dependent on
I'm trying to show graphs on my App using GraphView library. The code is
So I just trying to build a library using the NDK. I believe that
I'm trying to get a simple example working using gSoap, for VS2008. I've done
I'm trying a very simple case using a Python library called pyBrain and I
I'm trying to parse an xml file using XML::Simple library. In a designed way
I want to get started trying to develop a few simple applications with PyObjC.
I want to write a simple R script using the seewave library. When I
I'm trying to create a shared library on ubuntu using gcc I just have

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.