• 页面刷新后仍然保留所有文本框中的内容 南京酷得软件


    <html>
    <head> 
    <style type="text/css">
           .sHistory {behavior:url(#default#savehistory);}
        </style>
      <script language="javascript" type="text/javascript" >    
      function SetHistory()
    {
      
        var txtboxs = document.getElementsByTagName("input");
        for (var i=0;i<txtboxs.length;i++)
        {
            if (txtboxs[i].type=="text")
            {     
                txtboxs[i].className="sHistory";     
            }
        }
    }  
        </script>


    </head>
    <body>
    <table style=" 805px; border-right: #00ccff 1px solid; border-top: #00ccff 1px solid; border-left: #00ccff 1px solid; border-bottom: #00ccff 1px solid; background-color: #f9f9f9;" border="0" cellpadding="0" cellspacing="0" id="T_ExamPage_Add">
              
                <tr>
                    <td style=" 3px;" align="left" valign="top">
                        <table style=" 794px; left: 10px; position: relative; top: 15px;">
                        <tr>
                                <td style=" 113px" align="right">
                                    <strong>第一步:</strong></td>
                                <td style=" 658px">
                                    <span style="color: #0000ff">编辑试卷基本信息</span></td>
                            <td>
                            </td>
                        </tr>
                            <tr>
                                <td style=" 113px">
                                    试卷标题</td>
                                <td style=" 658px">
                                    <input id="txt_ExamPage_Title"  type="text" style=" 567px" /></td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td style=" 113px">
                                    试卷发布声明</td>
                                <td style=" 658px">
                                    <input id="txt_ExamPage_Explicit"   class="sHistory" type="text" style=" 567px" /></td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td style=" 113px; height: 26px;">
                                    试卷来源</td>
                                <td style=" 658px; height: 26px;">
                                    <input id="txt_ExamPage_Order"  class="sHistory" type="text" style=" 567px" /></td>
                                <td style="height: 26px">
                                </td>
                            </tr>
                            <tr>
                                <td style=" 113px; height: 26px">
                                    考试时间</td>
                                <td style=" 658px; height: 26px">
                                    <input id="txt_ExamPage_ExamTime" type="text" style=" 115px" maxlength="3" /></td>
                                <td style="height: 26px">
                                </td>
                            </tr>
                            <tr>
                                <td style=" 113px; height:113px">
                                    &nbsp;</td>
                                <td style=" 658px; height: 113px;" valign="top">
                                    &nbsp;<div id="d_ControlPanel"><table style=" 100%; height: 30px" border="0" cellpadding="0" cellspacing="0">                       
                            <tr>                         
                                <td style=" 100%; height: 30px" align="right">
                                        <input id="btn_ExamPage_Pre" style=" 100px; height: 30px" type="button" value="上一步" onclick="return btn_ExamPage_Pre_onclick()" />
                                        <input id="btn_ExamPage_Next" onclick="return btn_ExamPage_Next_onclick()" style=" 100px;
                                            height: 30px" type="button" value="下一步" />
                                        <input id="btn_ExamPage_Help" style=" 100px; height: 30px" type="button"
                                            value="帮助" onclick="return btn_ExamPage_Help_onclick()" />&nbsp;
                                </td>
                            </tr>
                        </table></div>
                                </td>
                                <td style="height: 113px" >
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
      <script language="javascript" type="text/javascript" >   
        SetHistory();   
        </script>
    </body>
    </html>
  • 相关阅读:
    .NetCore~框架版本号不同引起dotnet不能run它
    Linux~centos上安装.netcore,HelloWorld归来!
    Lind.DDD.Utils.HttpHelper里静态对象引出的Http超时问题
    [置顶] C++ Pirate: Lambda vs Bind
    如何成为CSDN博客专家
    MFC下的日历表
    世界上最便宜的10张防癌处方
    android权限大全
    应用程序管理集
    谢希仁《计算机网络》第五版---第四章
  • 原文地址:https://www.cnblogs.com/sucsy/p/672760.html
Copyright © 2020-2023  润新知