Ajax What is it?
Ajax It's a kind of web applied technology , You can communicate with the server application asynchronously with the client script ,, After getting the server data , Local refresh can be done . In order to improve the data response and rendering speed .
Ajax Introduction code analysis and Implementation
Ajax Coding steps ？
The key is Ajax The entrance of Technology -XMLHttpRequest-XHR object
First step ： be based on dom Event creation XHR object
The second step ： stay XHR Register state listener on object （ Monitor the communication process between client and server ）
The third step ： Establish a connection with the server （ Specify request method , request url, Synchronous or asynchronous ）
Step four ： Send a request （ Pass the request data to the server ）
Ajax A quick start to the coding process , The code is as follows ：
springboot Medium Ajax Technology application and code implementation
In the project static Under the table of contents , Create a page ajax-01
To be added ...