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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:57:56+00:00 2026-05-23T02:57:56+00:00

I have an Ajax based form with 3 radio buttons. When one is checked,

  • 0

I have an Ajax based form with 3 radio buttons. When one is checked, div1 fadeIn, if two is checked, div1 fadeOut, div2 fadeIn etc. This part works great.

But I also have success and error notification in those forms, which are not disappearing when radio buttons are switched, so for div2 you can see errors from div1.

I know that I could rename the success and error box classes for each form, but I’m wondering, is there a way I could reload the page or reset the form when switching radio buttons and then needed content would fadeIn? I tried to use location.reload() but it just reloads the whole page, and needed div never fadeIn.

Hope someone could help, I’m a jQuery n00b, but I’m really starting to like this framework.

  • 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-23T02:57:56+00:00Added an answer on May 23, 2026 at 2:57 am

    Use jquerys hide function to hide the notification divs when the radios are clicked:

    html:

    <div class="notification">There is an error</div>
    

    script:

    function onRadioClick() {
        ("div.notification").hide();
        // Do your fade in stuff
    
    }
    

    If I got your question right?

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

Sidebar

Related Questions

I have a form that has two buttons. One for saving a record and
I have an AJAX based application that updates a text field in a form
I have a page like this: <form class=ajax method=post action=add_item.php> [text input] [submit button]
I have an ajax based login form for my site and have noticed that
So I have a really simple form on a website that's entirely AJAX based
I have a problem in creating an AJAX-based form submission which if its response
I have a form that is generated via ajax based of a multi-file uploader
I have a ajax form that populates select lists with values based on the
I have developed an AJAX based game where there is a bug caused (very
I have a custom built ajax [div] based dynamic dropdown. I have an [input]

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.