Answers for "how to not refresh page"

0

update html page without refresh

$(function(){
    // don't cache ajax or content won't be fresh
    $.ajaxSetup ({
        cache: false
    });
    var ajax_load = "<img src='http://automobiles.honda.com/images/current-offers/small-loading.gif' alt='loading...' />";

    // load() functions
    var loadUrl = "http://fiddle.jshell.net/deborah/pkmvD/show/";
    $("#loadbasic").click(function(){
        $("#result").html(ajax_load).load(loadUrl);
    });

// end  
});
Posted by: Guest on April-19-2021
-1

refresh the page automatically

file:///C:/Users/Asse/Desktop/practice/new%201.html
Posted by: Guest on June-05-2021

Code answers related to "how to not refresh page"

Browse Popular Code Answers by Language