The example in this article describes the method of jquery controlling partial refresh of the page. Share it with everyone for your reference. The specific analysis is as follows:
This code is very cleverly designed. It loads the content of the specified tag of the page through jQuery's load method
$('#button1').click(function() { var url = "http:www.your-url.com?ID=" + Math.random(); //create random number setTimeout(function() { $("#elementName").load(url+" #elementName>*",""); }, 1000); //wait one second to run function });
I hope this article will be helpful to everyone’s jQuery programming.