1 $.ajax({ 2 url: "/ysl_Sign_In/changeuser", 3 //async: false,//请求是否异步,默认异步; 4 type: "POST", 5 dataType: 'json', 6 data: { 7 "UID": UID, //用户名&邮箱 8 "type": type,//内容 9 }, 10 success: function (result) { 11 13 var json = eval("(" + result + ")"); 14 15 //json[item]16 17 //修改日历中文字的格式; 18 var text = document.getElementsByClassName("fc-time"); 19 34 }, 35 error: function (result) { 36 layer.alert("读取信息错误--------------------kylin"); 37 } 38 });
function Click1() {}
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.min.js"></script>