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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:30:03+00:00 2026-06-16T23:30:03+00:00

I am using .net MVC 3. I have an AJAX call to save questionaire

  • 0

I am using .net MVC 3. I have an AJAX call to save questionaire answers, and I need some image indicator similar to loading icon to show users it was saved.

 <input id="SaveAccount"
        type="button"
        onclick="saveQuestioniare();"
        value=""
        alt="save account" title="save account" />

My AJAX call:

 function saveQuestioniare() {
           var formData = $("#SignupForm").serializeArray();
           $.ajax({
            url: '/Question/SaveQuestionaire?id=@ViewData["reviewId"]',
            type: 'POST',
            cache: false,
            dataType: 'json',
            data: formData,
                error: function (jqXHR, textStatus, errorThrown) {
                    alert(errorThrown);
                },
            success: function (json) {
                alert("Saved");
            }
        });
    }
  • 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-16T23:30:04+00:00Added an answer on June 16, 2026 at 11:30 pm

    do not use additional plugins you can do it easly by css and js 10 line of code instead of 300/400 and more

    first style your image to be where you want to be, for example:

    <img src="...path to img" id="myimg" alt=""/>
    
    #myimg{
    margin:0;
    position:relative;
    top:20%;
    bottom:20%;
    left:0;
    right:0;
    display:none;
    }
    

    then in js do

    $.ajax({ ....
    beforeSend:function(){
    $('#myimg').show();
    },
    success:function(){
    $("#myimg").hide();
    }
    ...});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a site using asp.net MVC. I have used AJAX for paging,sorting
I have the following view definition in my asp.net mvc website: <% Using Ajax.BeginForm(UsrCtlChangePassword,
I'm using ASP.NET MVC and have a model which has an image (byte array)
I am using ASP.NET MVC C# I have a jQuery call that deletes a
I am using asp.net MVC to develop an application that will have ajax interactions.
I'm using ASP.NET MVC 2 and have a login page that is secured via
Using ASP.Net MVC on my Site.Master I have: <head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server />
Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on
we have a mixed development environment using ASP.NET MVC and Ruby on Rails. We
I'm using ASP.NET MVC RC2. I have a set of classes that were auto-generated

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.