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

  • Home
  • SEARCH
  • 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 1067461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:09:35+00:00 2026-05-16T20:09:35+00:00

for this I am using colorbox jQuery plugin http://colorpowered.com/colorbox/ and a form. I am

  • 0

for this I am using colorbox jQuery plugin http://colorpowered.com/colorbox/ and a form. I am trying to use jQuery colorbox to unhide a div containing a form and show it in the colorbox when I click on the relevant links below.

This is the javascript in the header I use:

$(document).ready(function() {
    $('#password_reset').ajaxForm({
        success: showResponse,
        clearForm: 'true'
    });

    function showResponse(responseText, statusText) {
        $('#password_reset').hide();
        $('#formStatus').html(responseText);
    };

    $().bind('cbox_open', function() {
        $('#password_reset').show();
        $('#formStatus').html('');
    });

    $(".inline").colorbox({
        width: "300px",
        height: "250px",
        inline: true,
        href: "#password_change"
    });
});

This is the link I have that is supposed to run my javascript code (above) and unhide the div below and run it into colorbox:

<a href="javascript:showResponse">Password Reset</a>

This is my hidden div:

<div style="visibility: hidden;">
    <div id='password_change' style="padding:10px; background:#fff;">
        <strong>Change your password</strong><br /><br />
        <form id="password_reset" action="password_reset.php" method="post">
            <input type="hidden" name="Method" value="updatePassword"  />
            Password: <br />
            <input type="password" name="password1" />
            <br />
            <br />
            Verify Password: <br />
            <input type="password" name="password2" />
            <br />
            <input type="submit" value="Update" />
        </form>
        <div id="formStatus"></div>
    </div>
</div>

Hopefully someone can tell me how I can get this working as I am completely stuck and I know it’s a small error I am making here but I can’t figure it out. Please help?

  • 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-05-16T20:09:36+00:00Added an answer on May 16, 2026 at 8:09 pm

    griegs’ answer is half way there. jQuery’s show & hide on a div element is equivalent of display:block; and display:none; so it should be like this:

    <div id="DIV_password_reset" style="display:none;">
    
    $('#DIV_password_reset').show();
    

    If you want to use visibility, do the following:

    <div id="DIV_password_reset" style="visibility:hidden;">
    
    $('#DIV_password_reset').css('visibility', 'visible');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the jQuery plugin Colorbox for some images on This page .
I am using a jquery plugin called colorbox, this might be irrelevent though as
I am using colorbox a jquery plugin to emulate modal window which is not
I'm using the jquery plugin ColorBox . I have a page with several item
I'm new to jQuery and trying to combine the use of a tooltip plugin
I'm trying add a tab to my web page that looks like this: Using
I have an HBITMAP containing alpha channel data. I can successfully render this using
I am working on a secure site, https. I am using the colorbox jquery
Writing something like this using the loki library , typedef Functor<void> BitButtonPushHandler; throws a
I open a connection like this: Using conn as New OdbcConnection(connectionString) conn.Open() //do stuff

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.