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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:17:37+00:00 2026-06-02T07:17:37+00:00

I have a form that fills in a codeigniter calender. First off I will

  • 0

I have a form that fills in a codeigniter calender. First off I will say the form works just fine with Ajax & my controller. The first time I submit the form all data goes to the database and I get my success event which is just repeating what I entered, then it fades out. Works great.

The second time I enter data(I usually enter data into the database at least 5-6 times in succession) the data goes to the database but no second event message. Or 3rd, 4th etc.

My question is how do I make the success callback fire each time I submit the form?

My jquery

$(function() {
$('.error').hide();
$("#calen").submit(function() {
var data = $('#calen').serialize();
$.ajax({
url: ("http://XXXXXX.net/mycal/cale"),
data: data,
type: "POST",
success: function(msg){
    $('#cal').append(msg);
    $('#cal').delay(5000).fadeOut(1500);
    }      

});
return false;
});
});

I know this has to be simple. Thank you for your time

  • 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-02T07:17:41+00:00Added an answer on June 2, 2026 at 7:17 am

    It looks like the problem is that you fadeOut, but never fade back in. Try adding :

    $('#cal').fadeIn(1500);
    

    right before you append the message to the element.

    • 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 I'm submitting with AJAX. A user fills out the
So I have a form that the user fills out, when submitted an new
I have a form that and after the user fills in this form, I
I have a mechanize script written in python that fills out a web form
I have a form that is generated on a customer's website (lets say customer.com)
I have a form that a user fills out, which submits information to my
I have a form that sends out a notification when a client fills out
Here's my issue: I have a html form that after a user fills in
I have been trying to update a text field in a form that will
I have a form that fills in a Google Spreadsheet. One of the columns

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.