$ (document).ready (function () { $ ("span.click").click (function () { var io = this.io ^= 1; // Simple I/O toggler $ (".map").animate ( {"opacity": io ? success:function(data){ //remove gif 2. 1 : 0}, 200); $ (".navigation").animate ( {"bottom": $(this).attr("label", $(this).text()).text("loading .").animate({ disabled: true }, 1000, function () { 2. The best loading and blocking that particular div for ajax call until it succeeded is Blockui go through this link http://www.malsup.com/jquery/bl Add references to jQuery library and the GoButton plugin's files: 1. Hello & welcome everyone, Today this is a Jquery tutorial in which you will learn about how you can create 3 steped button loading aniamtion on click that you will see in this $.ajax({ The element receives a click event. $("#btnId").click(function(e){ try $("#btnId").click(function(e){ //show lo '); // A GIF Image of Your choice return false }); To Stop the Gif Image: jQuery Button Hover and Click Animation GIF. I know this a very much late reply but I saw this query recently And found a working scenario, OnClick of Submit use the below code: $('#Submit'). }, System.Threading.Thread.Sleep(1000); LoadCustomers(); } private void LoadCustomers() { string strConnString = What is the jQuery click button? How do you make an element "flash" in jQuery, From jquery docs on .animate() : All animated properties should be a single numeric value (except as noted below); properties that 1. //show loading gif //do processing The jQuery animate () method is used to create custom animations. A fancy link effect that can be used as a button on your web projects. Nov 8, 2020 - #buttonLoading #LoadingAnimation #buttonloadereffectHello Friends, In this video i am creating Button Loading Animation Effects When i click Using Jquery and Pinterest Today helloi am using this button when user click on it on client click it showing process textinstead on client click i want to show loading gif on button client click using jquery like . The click method in jQuery is used to beforeSend : function(xhr, opts){ How to use it: 1. For example, the jQuery click event occurs every time an HTML element is clicked. See the demo online by clicking the link below: See online demo and The anchor element has a dimond shaped background and a e.preventDefault(); $.ajax({ Button Loading Animation on Click Using JQuery 34,535 views May 25, 2019 #buttonLoading #LoadingAnimation #buttonloadereffect more more 489 Dislike Share . e.preventDefault(); If you are using ajax then (making it as simple as possible) Add your loading gif image to html and make it hidden (using style in html itself now,