You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
2.6 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ForGetPwd.aspx.cs" Inherits="TradeManage.ForGetPwd" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>蜜糖ERP</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="蜜糖ERP">
<meta name="author" content="蜜糖ERP">
<!-- CSS -->
<link rel="stylesheet" href="css/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="css/assets/css/style.css">
<script src="Scripts/jquery.min.js" type="text/javascript"></script>
<script src="Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="Scripts/Global.js" type="text/javascript"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<script type="text/javascript">
$(document).ready(function () {
ajaxInit(null);
});
function GetPwd() {
var Email = $('#txtEmail').val();
if (Email == "") {
alert("请输入Eamil");
$('#txtEmail').focus(); return;
}
if (JqueryIsEmail(Email) == false) { alert("请输入有效的邮箱地址"); $('#txtEmail').focus(); return; }
var param = new Object();
param.Email = Email;
$.ajax({
url: "UserService.asmx/GetUserPwd",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
cache: false,
success: function (msg) {
alert(msg.d);
}
});
}
</script>
</head>
<body>
<div class="register-container container">
<div class="row">
<div class="register span6" style="margin-top:180px">
<form>
<h2>蜜糖ERP<span class="red"><strong>密码获取</strong></span></h2>
<label for="txtEmail">邮箱Email<font color="red">(*必填)</font></label>
<input type="text" id="txtEmail" class="textinput" name="firstname" placeholder="请输入您注册时的电子邮箱..." />
<input id="btn_Save" style="width:300px" type="button" class="btnbutton" value="获 取" onclick="GetPwd();"/>
</form>
</div>
</div>
</div>
<div align="center" style="margin-top:80px">
Copyright &copy; 2015.蜜糖科技 All rights reserved.
</div>
</body>
</html>