zoukankan      html  css  js  c++  java
  • 软工超越日报-多条件查询 5/7

    热词云作业有一个重要环节就是多条件查询

    效果是这样:

     核心代码(搜索条件的消失与出现)如下:

        function cs(){
            if(oramgeal<6){
                da=document.getElementById("d"+oramgeal);
                da.setAttribute("style","margin-top:20px;650px;margin:0 auto");
                console.log(oramgeal);
                oramgeal++;
            }
            
        }
      

      function sc(){
          if(oramgeal>1){
          oramgeal--;
          da=document.getElementById("d"+oramgeal);
          da.setAttribute("style","display:none");
          document.getElementById("title"+oramgeal).value="";
          console.log(oramgeal);

        }
      }

  • 相关阅读:
    java-ApiDemo
    java编译器特性
    java
    java
    java
    java
    java
    java
    hdoj 3549 Flow Problem(最大网络流)
    hdoj 1269 迷宫城堡(强连通分量)
  • 原文地址:https://www.cnblogs.com/Sakuraba/p/14910512.html
Copyright © 2011-2022 走看看