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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:04:03+00:00 2026-06-05T06:04:03+00:00

Currently i have a detailed page listing containing all links like page.php contains page.php?id=1,

  • 0

Currently i have a detailed page listing containing all links like page.php contains page.php?id=1, page.php?id=2, page.php?id=3, page.php?id=4..etc . Now i want to just provide a preview button on which the on clicking that button without navigating to these pages, i can show the content in a popup/modal box without moving to these pages? I am stuck with this id concept that how can i achieve this. Any source/link is really appreciable.

  • 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-05T06:04:04+00:00Added an answer on June 5, 2026 at 6:04 am

    You could perform an AJAX call with jQuery based on the button that is clicked, to load the page inside your dialog:

    $('.previewButton').click(function(){        
        // determine which page ID to load 
        // based on the button that was clicked
        var pageID = ...;
    
        // fetch the page
        $.get('page.php', {page: pageID}, function(data) {
            // show the page content inside the dialog
            $('.myDialog').html(data);
        });
    });
    

    For the dialog you could for example use jQuery UI’s dialog: http://jqueryui.com/demos/dialog/

    With that plugin you can simply call $(".myDialog").dialog() to make your <div class="myDialog"></div> show as a pretty dialog.

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

Sidebar

Related Questions

Currently have password protection on my main and sub directories, however I'd like to
I currently have one project that currently contains multiple packages. These packages make up
I currently have a MySQL table like: id | friend 1 | 2 1
I have a website where I want the following page to function - it
While parsing the contents of a page I want to just list images, but,
Edit: More Detailed and to the point I'm using Rails 3: I currently have
I have a relatively complex .htaccess file to control page requests, this currently redirects
Currently I have a ListView (using the Details View). I would like to implement
Currently have a drop down menu that is activated on a hover (from display:none
I currently have a XSLT 2.0 Stylesheet that I am trying to remove empty

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.