感谢您的帮助,它起作用了,现在一切都很好
You need to do an ajax request
var values = {"source":"the source...", "location":"the location..."}; // add your others variable here...
$.ajax({
url: "yourphpfile.php",
type: "post",
data: values ,
success: function (response) {
// it will return the result (SUCCESS or ERROR)
},
error: function(jqXHR, textStatus, errorThrown) {
console.log(textStatus, errorThrown);
}
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.