About 211,000 results
Open links in new tab
  1. javascript - How can I change icon on AJax response ... - Stack Overflow

    Dec 5, 2016 · I have an anchor tag with an icon inside that I want to change it on click. So, using Ajax I tried as below: HTML <a id="#pl-esong234" class="social-button-song" title="Add in playlist" onclick="

  2. Show loading image while $.ajax is performed - Stack Overflow

    Oct 28, 2013 · The "image" people generally show during an ajax call is an animated gif. Since there is no way to determine the percent complete of the ajax request, the animated gifs used are indeterminate spinners.

  3. javascript - How to change the icon in the head to "loading" during

    Sep 23, 2012 · Here's the procedure to change it: HTML for your favicon in HEAD: You can change the favicon using Javascript by changing the HREF element on this link, for instance (assuming you're using JQuery): I think he is talking about the "favicon"-icon which is shown most likely in a browser-window or tab, not an ordinary image.

  4. How to Create a CSS3 Ajax Loading Icon Without Images

    Mar 21, 2012 · To use a CSS3 AJAX loading icon in your web application, you need to include the HTML, CSS, and JavaScript code for the icon in your web page. You can then use AJAX to show or hide the...

  5. javascript - Make loading icon appear only after 2 seconds - Code ...

    On any ajax calls made that take more than 2 seconds, I want a loading icon to appear. I have css that takes care of showing the loading icon when the 'loading' class is added to the body. And here is the relevant code:

  6. AJAX Introduction - W3Schools

    What is AJAX? AJAX = Asynchronous JavaScript And XML. AJAX is not a programming language. AJAX just uses a combination of: A browser built-in XMLHttpRequest object (to request data from a web server) JavaScript and HTML DOM (to display or use the data)

  7. Icons Tutorial - W3Schools

    How To Add Icons. To insert an icon, add the name of the icon class to any inline HTML element. The <i> and <span> elements are widely used to add icons. All the icons in the icon libraries below, are scalable vector icons that can be customized with CSS (size, color, shadow, etc.)

  8. Display Loading Image when AJAX call is in Progress - Makitweb

    Dec 14, 2020 · You can display a loading image or text message on the page when the AJAX request is in progress and hide it after getting a response. In the demonstration, I am displaying a loading image when sending an AJAX request.

  9. javascript - Ajax call to change icons - Stack Overflow

    Jul 4, 2020 · $(document).on('click', '#wishbtn', function (e) { let el = $(this); $.ajax({ type: 'GET', url: "{% url 'listing:wishlist' %}", data: { title_slug: el.attr("data-slug"), }, success: function { alert('added to wishlist'); } }) });

  10. A CSS3 Ajax Loading Icon Without Images - sitepoint-examples

    A CSS3 Ajax Loading Icon Without Images. The following links show a CSS3 animation in the center of the page which could be used when waiting for responses from Ajax requests or other time-sensitive actions.