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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:02:03+00:00 2026-06-01T18:02:03+00:00

I am doing a site to view in mobile ,i need a popup/dialogue box

  • 0

I am doing a site to view in mobile ,i need a popup/dialogue box to display the contents inorder to avoid page redirection.I have used the code

<a href="<?=site_url('cart/terms_conditions/'.$cart['Product_ID'])?>"  data-rel="dialog" style="color:#27d9fb; font-size:100%;">Terms & Conditions</a>

The dialogue box appeared and it looks good my problem is how can i close the dialogue box .i need to stay in home page when user close the terms& condition page.I have used jquery, javascript

location.reload(true);

but it won’t works. if any body knows it please help.

Ant help will be appeciated

  • 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-01T18:02:04+00:00Added an answer on June 1, 2026 at 6:02 pm

    Can you not just use: $('.ui-dialog').dialog('close')?

    eg. add a ‘close’ button to your terms & conditions page and then trigger .dialog('close') when the button is clicked.

    <button id="close-button">Close</button>
    
    $('#close-button').click(function() {
      $('.ui-dialog').dialog('close');
    });
    

    http://jquerymobile.com/demos/1.0a4.1/docs/pages/docs-dialogs.html

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

Sidebar

Related Questions

I have a view that is strongly typed: <%@ Page Title= Language=C# MasterPageFile=~/Views/Shared/Site.Master Inherits=System.Web.Mvc.ViewPage<MPKwithMVC.Models.SmartFormViewModel>
I am doing a site to view from mobile . I done a spinning
I am doing a site in PHP and have a graph module. I have
I'm doing a mobile version of an existing ASP.Net site, just re-doing the layouts
I have developed a jquery mobile application for my site http://tastykhana.in/m there is an
I have a image hosting site in CI with an image view file (working
I'm doing a site in coldfusion8/mysql 5.0.88 with the front end in Jquery Mobile.
I have some links that are not working on our mobile view of our
I have a need to learn MVC 3 with the Razor view engine and
I am doing a magento customization site I need to add certain product details

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.