Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyPassword.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyPassword.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyPassword" %> <div class="box well"> <div class="p_title"> <span class="title">???????????</span>?????? </div> <hr /> <div class="userInput pwd"> <form id="frmPassword" action="" method="post" onsubmit="return false;"> <ul style="margin: 40px 0pt 165px;"> <li><span class="label"><span class="required">*</span>?????????</span> <%= new HtmlPassword("PasswordOld",null,30) { }.Style(new { Width = "220px" })%> <%= new HtmlYKTip("PasswordOld") { }%> </li> <li><span class="label"><span class="required">*</span>?????????</span> <%= new HtmlPassword("Password", null, 30) { }.Style(new { Width = "220px" })%> <%= new HtmlYKTip("Password") { }%> </li> <li><span class="label"><span class="required">*</span>?????????</span> <%= new HtmlPassword("PasswordConfirm",null,30) { }.Style(new { Width = "220px" })%> <%= new HtmlYKTip("PasswordConfirm") { }%> </li> <li class="action"> <%= new HtmlSubmit("??????", "Password", "PasswordClient(this);").Style(new { Width = "100px" })%></li> </ul> </form> </div> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "Password", form: "#frmPassword", alertMessage: true, showMessage: false }); $("#frmPassword [name=PasswordOld]").formValidator({ validatorGroup: "Password", rules: { required: null }, message: { required: "?????????" } }); //?????? $("#frmPassword [name=Password]").formValidator({ validatorGroup: "Password", rules: { required: null, regex: "^\\w{4,16}$" }, message: { required: "????????????", regex: "??????4??16????????" } }); $("#frmPassword [name=PasswordConfirm]").formValidator({ validatorGroup: "Password", wideWord: true, rules: { required: null, equalTo: "#frmPassword [name=Password]" }, message: { required: "???????????", equalTo: "??????????????" } }); </script> <script type="text/javascript"> function PasswordClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.Password", data: Global.GetFormValue($("#frmPassword")), async: true, dataType: 'json', success: function (result) { $(send).val("??????"); Global.Disabled(send, false); alert("???????????"); window.location.href = "/logout.html"; }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("??????"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de