zoukankan      html  css  js  c++  java
  • 河北重大需求第八稿细节处理-灰度实现

    第八稿在填报时需要实现填完一个空再继续填下一个空

    主要就是对于灰度的调制

         <html>  
        <head>  
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312">  
        <title>新建网页 1</title>  
        </head>  
        <body>  
        <form name="form0" onsubmit="if (this.txt.value=='预设值是灰色'){this.txt.value='';alert('txt.value='+this.txt.value);}">  
        txt:<input id="txt"  name="txt" type="text" value="预设值是灰色" style="color:#ddd" onfocus="if (this.value=='预设值是灰色')this.value=''" onblur="if (this.value=='')this.value='预设值是灰色'">  
        <input type="submit" value="OK"></form>  
        </body>  
          
        </html>  
    

     然后就是在function中设置动作就好

     <script type="text/javascript">
    
         $(function(){
    
                $('#cc').combobox({    
    
                     required:true,    
    
                     multiple:true,
    
                     disabled:true,
    
                        editable:flase
    
               });  
    
          });
    
    </script>
    View Code
  • 相关阅读:
    manacher(求最大回文串并返回)
    编程求一个后缀表达式的值
    栈的简单使用
    云计算的概念
    乐优商城
    四大函数型接口
    Stream流计算
    JWT实现无状态登录
    Thymeleaf模板引擎
    elasticSearch的使用
  • 原文地址:https://www.cnblogs.com/ljpljm/p/14204222.html
Copyright © 2011-2022 走看看