|
|
<%@ 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 © 2015.蜜糖科技 All rights reserved.
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
</html>
|
|
|
|