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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:30:47+00:00 2026-06-05T13:30:47+00:00

I am trying to implement something like this: Clicking on a link, a pop-up

  • 0

I am trying to implement something like this:

  1. Clicking on a link, a pop-up will be opened, something like sign-up page.

  2. On submission, if data is unfilled, an error message will be generated.

But on successful submission, it will be redirected to the main page opened earlier in the browser.

Im using thickbox for the pop-up feature. On redirecting using the following code:

<meta http-equiv="refresh" content="1;url=http://localhost/cgi-bin/Ajax/index.pl/">

The main page is being redirected, but in the pop-up itself I want the pop-up to die after successful submission and the main page gets refreshed.

  • 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-05T13:30:48+00:00Added an answer on June 5, 2026 at 1:30 pm

    I’ll asume you’re using the iFrame solution from the thickbox website. It looks to me that you have to set the modal=true part in the URL and use the tb_remove() function once the login is completed. The same goes for the AJAX version.

    Optionally you may add modal=true to the query string (e.g.
    ?KeepThis=true&TB_iframe=true&height=400&width=600&modal=true) so that
    closing a ThickBox will require calling the tb_remove() function from
    within the ThickBox iframe (self.parent.tb_remove()). See the iframe
    demo for an example, where you must click “ok” to close the ThickBox.

    You should therefore just add something like this to your javascript (that you print from perl iirc).

    <script type="text/javascript">
    tb_remove();
    </script>
    <meta http-equiv="refresh" content="1;
          url=http://localhost/cgi-bin/Ajax/index.pl/">
    

    Please note that I have not tested this and I’m only referring to the documentation.

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

Sidebar

Related Questions

I'm trying to implement something like a photo carousel in jQuery. This carousel could
I'm trying to implement something like this in Rails 2.3.10: <% helper_method(collection) do |object|
I'm trying to implement something like this: <div> <table> <thead> <tr> <td>Port name</td> <td>Current
I am trying to implement something that requires a structure like this: struct abc
I'm trying to implement an archive functionality into a webpage that will submit something
I am trying to implement some localization in my database. It looks something like
I'm trying to implement this solution to get around the blank page in Android's
Right now i am trying to implement something like the RowDetails feature of the
I'm trying to implement something like facebook's like widget which says something like: You,
I am trying to implement something like an action bar in android 2.2 .

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.