replyImport the jquery file and then look at the jquery manual to find the ajax part and add it.
Get form value
var customername = $(this).val();
parameters passed
var data = {'customername':customername}
$.ajax({
type: "POST",
Execute the added method path
url: "url",
added data
data: data,
dataType:'json',
success: function(msg){
The return value determines success. Refresh the page.
}
});
http://www.builive.com/apps/default/main.html#form/grid
http://www.builive.com/apps /default/main.html#form/dialog-grid
These two pages should be able to give you some help.
If you want to write it yourself, look up "updating data without refreshing" in the search engine, there will be a lot of documents.
<a href="">After adding student information</a> the page you will be redirected to after clicking is on this page, what should I do
Click edit to pop up a pop-up window where user information can be edited, and use ajax to submit user information
Add using ajax