Let’s look at an Ajax example first
Contents of test.jsp:
Let’s take a look at Ajax in jQuery
1.load()
The load() method is the simplest and most commonly used Ajax method in jQuery, which can remotely load HTML code and insert it into the DOM.
Remote HTML code:
Bench.
Floor.
load() loads HTML
load() loads the filtered HTML document
load()方法---回调函数
END
以上就是本文的全部内容了,希望对大家能有所帮助。
Zhang San:
Sofa.