文件名称:Html跳转代码
文件大小:6KB
文件格式:TXT
更新时间:2016-08-21 11:27:51
跳转
function doublechooseclick() { //alert("doublechooseclick"); $.ajax({ type: "POST", dataType: "json", url: "/HttpUrl/UserReg.ashx?UserMail=" + emailTxt, success: function (msg) { // alert(msg.user); var user = msg.user; var balance = msg.balance; // alert(user); /// alert(balance); if (user != "") { location.href = "RegSuccess.html?user=" + user + "&balance=" + balance; //location.href实现客户端页面的跳转 // location.href = "RegSuccess.html"; //location.href实现客户端页面的跳转 } else { alert("注册失败!"); return; } } }); } //function doublechooseclick() { // $.post("/HttpUrl/UserReg.ashx", { id: "1", name: "join" }, function () { location.href = "/User/RegSuccess.html"; }); //} /**********************************************************************************/ //var falg = true; //定义是否通过的标志 //function bt_reg_C() { // location.href = "/User/reg.html "; //} //$(document).ready(function () { // $("#VerifyCode").bind("click", function () { // $("#VerifyCode img").attr("src", "/Httpurl/RandomImage.ashx?time=" + Math.random()); // }); // $("#bt_login").bind("click", function () { // //alert("1"); // login(); // }); //}); //function login() {///登陆 // var falg = ""; // var username = $("#UserName").val(); // var password = $("#PassWord").val(); // var val = $("#Validate").val(); // $.ajax({ // type: "POST", // url: "/HttpUrl/UserReg.ashx?Validate=" + val, // success: function (msg) { // var msg = "ok"; ///测试先写死,到时候进行屏蔽 // if (msg == "ok") { // falg = true; // if (falg) { // $.ajax({ // type: "POST", // url: "/HttpUrl/index.ashx?type=3&uname=" + username + "&pwd=" + password, // success: function (msg) { // if (msg.user == username) { // downdan("ssq", username); ///下单 // } // else { // alert("用户名密码错误!"); // } // } // }); // } // } // else { // alert("验证码不一致!"); // falg = false; // } // } // }); //} ///跳转按钮中的事件 最强护卫 function sure() { var combination = getcombination(); var amount = $("#pt_bs").val() - 0; var posturl = "/order/sure"; var count; var btype = $("input[name='buyType']:checked").val(); var title; //
\u76f4\u63a5\u8d2d\u4e70
-\u65e0\u9700\u767b\u5f55\u5c31\u53ef\u8d2d\u4e70
- \u771f\u5b9e\u59d3\u540d "; m += "
- \u8eab\u4efd\u8bc1\u53f7\u7801 "; m += "
- \u4e2d\u5956\u8054\u7cfb\u624b\u673a "; m += "