[修复 AJAX 代码路径后的屏幕截图错误 500] 不确定是否存在 ajax 调用问题或资源文件的路径(jquery)
标题,基本上我尝试过 MVC,索引页面包含所有页面的路径,标题,页脚,控制器,功能,操作,连接......
<!doctype html>
<html>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
我的资源
<!-- datetimepicker
-->
<script src="./js/jquery.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.css">
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.3.3/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" ></script>
<script src="./js/jquery.datetimepicker.full.min.js"></script>
<!-- General CSS-->
<link rel="stylesheet" href="./css/all.css">
<link rel="stylesheet" href="./css/style.css" type="text/css">
<link rel="stylesheet" href="./css/style2.css" type="text/css">
<!--<link rel="stylesheet" href="./css/style.css?nocache={timestamp}" type="text/css">-->
我的 javascript... 页脚文件
$("#LoginSignup").click(function()
{// alert ("hi5");}
$.ajax(
{ type: "POST",
url: "functions.php?action=LoginSignup",
data: "useremail=" + $("#useremail").val() + "&password=" + $("#password").val() + "&loginActive=" +
$("#loginActive").val() + "&firstname=" + $("#firstname").val() + "&cpassword=" +
$("#cpassword").val() + "&lastname=" + $("#lastname").val() + "&phonenumber=" +
$("#phonenumber").val(),
success: function(result) {//alert ("hi");
if (result == "1")
{//alert ("hei");
侃侃无极
青春有我
随时随地看视频慕课网APP
相关分类