欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

用javcscript記住用戶名和密碼保存在本地儲(chǔ)存中,然后實(shí)現(xiàn)前端獲取

<script type="text/javascript">

成都創(chuàng)新互聯(lián)一直秉承“誠(chéng)信做人,踏實(shí)做事”的原則,不欺瞞客戶,是我們最起碼的底線! 以服務(wù)為基礎(chǔ),以質(zhì)量求生存,以技術(shù)求發(fā)展,成交一個(gè)客戶多一個(gè)朋友!為您提供成都做網(wǎng)站、網(wǎng)站制作、成都外貿(mào)網(wǎng)站建設(shè)、成都網(wǎng)頁(yè)設(shè)計(jì)、微信小程序開(kāi)發(fā)、成都網(wǎng)站開(kāi)發(fā)、成都網(wǎng)站制作、成都軟件開(kāi)發(fā)、APP應(yīng)用開(kāi)發(fā)是成都本地專(zhuān)業(yè)的網(wǎng)站建設(shè)和網(wǎng)站設(shè)計(jì)公司,等你一起來(lái)見(jiàn)證!

window.onload=function(){
 var Id = localStorage.getItem("txtId");

                    if(Id != null) //如果緩存中有數(shù)據(jù),則加載出來(lái) B5教程網(wǎng)
                    {
                        document.getElementById("txtId").value = Id;
                        document.getElementById("txtPwd").value = localStorage.getItem("txtPwd");
                        document.getElementById("chkRem").checked = "checked";
                    }
                    
                    }
                    //將賬號(hào)與密碼保存到Localstore
                    function remPwd() {
                        var check = document.getElementById("chkRem");
                        if(check.checked) //判斷記住密碼項(xiàng)是否勾選,是則記住密碼到本地緩存
                        {
                            var id = document.getElementById("txtId").value;
                            var pwd = document.getElementById("txtPwd").value;
                            localStorage.setItem("txtId", id);
                            localStorage.setItem("txtPwd", pwd);
                        } else //否則就移除本地緩存
                        {
                            localStorage.removeItem("txtId");
                            localStorage.removeItem("txtPwd");
                        }
                    }



</script>
</head>

 <body class="bg-black">

        <div class="form-box" id="login-box" >
            <div class="header">登錄頁(yè)面</div>
            <form id="formLogin" action="user_loginApp.action" class="login" method="post">
                <div class="body bg-gray">
                    <div class="form-group">
                        <input type="text" name="loginName" id="txtId" class="form-control" placeholder="請(qǐng)輸入用戶名"   onblur="javascript:ok_or_errorBylogin(this)"/>
                    </div>
                    <div class="form-group">
                        <input type="password" name="password" id="txtPwd"class="form-control" placeholder="請(qǐng)輸入密碼" onBlur="javascript:ok_or_errorBylogin(this)" />
                    </div>         
                    
                    <div class="form-group">
                        <input type="checkbox"  checked="checked" id="chkRem" name="remember_me"/> 記住密碼
                    </div>
                </div>
                <div class="footer">                                                               
                    <button type="submit" class="btn bg-olive btn-block" id="login"     
                    
                
            <hr>
             <p>
                 <b>
         XXXXXXX電子有限責(zé)任公司 </b> <br><b>XXXXXXXX有限責(zé)任公司<b> &nbsp;   &nbsp;&nbsp;&nbsp;&nbsp;     聯(lián)合開(kāi)發(fā)<br /><b >&nbsp;   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;電話:0771-3304546</b><br>
                                  
            
             </p>
            
            </div></form>

</body>
</html>

當(dāng)前文章:用javcscript記住用戶名和密碼保存在本地儲(chǔ)存中,然后實(shí)現(xiàn)前端獲取
鏈接地址:http://www.chinadenli.net/article2/peciic.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供App設(shè)計(jì)網(wǎng)站制作全網(wǎng)營(yíng)銷(xiāo)推廣網(wǎng)站營(yíng)銷(xiāo)網(wǎng)站建設(shè)域名注冊(cè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

網(wǎng)站托管運(yùn)營(yíng)