Why does it still jump after returning false?
P粉751989631
P粉751989631 2022-11-04 04:28:42
0
0
640

<script> // Ajax let btn = document.getElementById("submit"); btn.onclick = function () { //new an ajax object let xhr = new XMLHttpRequest(); // Monitoring xhr.onreadystatechange = function () { // Sent successfully and successfully received from the server if (xhr.readyState == 4 && xhr.status == 200) { console.log(xhr.responseText); // Parse the returned json string; / / let json = json.parse (xhr.Responsetext); // Write into html; // Let tips = document.GetelementByid ("tips"); // tips.innerhtml = "Welcome user" json.name "to come back again. ";                                                                                                                                                                         let name = document.getElementById("username").value; "&password=" password;

P粉751989631
P粉751989631

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template