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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:12:44+00:00 2026-05-24T17:12:44+00:00

I am using Javascript to submit a form. All works well but when the

  • 0

I am using Javascript to submit a form. All works well but when the person clicks “Submit” I want the form to fade in a simple message. All it needs to do is change the CSS to fade out the form and fade in message. Nothing complicated but I do not know jQuery or javascript well enough to implement this.

Here is the code for the form:

<div id="Voicemail">
<input class="vinput" type="text" id="cid_name" />
<label class="vlabel">Your Number</label>
<input class="vinput" type="text" id="cid_number" />
<input class="light_button custom_button" type="submit" name="Voicemail" 
       onclick="send_call()" value="Leave A Voicemail" />
</div>

This is the DIV I want to fade in:

<div id="success-call" class="hide">
<p>You will receive a call momentarily</p>
</div>

This is where I am confused. How do I fade out the form and fade in the Success Message.

Thanks for your 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-24T17:12:45+00:00Added an answer on May 24, 2026 at 5:12 pm

    Demo


    function send_call(){
        $("#Voicemail,#success-call").fadeToggle();
        // other stuff
    }
    

    That’ll do it using jQuery

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

Sidebar

Related Questions

I'm using a javascript function to submit my form. This works in every browser
I am using html, javascript & mod_python. I want to submit html form. To
I am trying to submit a form using javascript . But its always error
Is there a way to submit an HTML form using JavaScript that is guaranteed
I am trying to do pagination using javascript but all in vain, please help..
I am using Javascript-JQuery to submit 2 aspx pages, $('#MyForm1').submit(); $('#MyForm2').submit(); for some reason
I am reading an xml file using javascript and then I need to submit
The full story is I want to disable the submit button on a form's
I'm using the JQuery plugin AjaxForm (http://jquery.malsup.com/form/) to submit the contents of a form
I have to create a form using JavaScript and an user will upload a

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.