• js


    2016/09/13

    var t1 = window.setInterval("scanPrice()",5000);

    function scanPrice(){

    //定时器

    }

    -----------------------------------------------------------------

    js: var s= "${month}";

    ""必须加上

    EL:<c:if test="${not empty abc}"> or <c:if test="${abc ne null}">

        ...

      </c:if>

    jquery:

    <div class="test-selector">
        <ul class="test-lang">
            <li class="lang-javascript">JavaScript</li>
            <li class="lang-python">Python</li>
            <li class="lang-lua">Lua</li>
        </ul>
        <ol class="test-lang">
            <li class="lang-swift">Swift</li>
            <li class="lang-java">Java</li>
            <li class="lang-c">C</li>
        </ol>
    </div>

    // 分别选择所有语言,所有动态语言,所有静态语言,JavaScript,Lua,C等:
    //selected = $('div.test-selector');
    //selected = $('ul.test-lang');
    //selected = $('ol.test-lang');
    //selected = $('ul.test-lang li:first');
    //selected = $('ul.test-lang li:last');
    //selected = $('ol.test-lang li:last');
    //----selected = $('ol.test-lang li:child(2)');

  • 相关阅读:
    java下载url图片链接
    mysql 设计索引的原则
    169. 多数元素
    263. 丑数
    markdown 语法笔记
    70.爬楼梯
    540. 有序数组中的单一元素
    88. 合并两个有序数组
    面试题57
    152. 乘积最大子序列
  • 原文地址:https://www.cnblogs.com/flord/p/5787295.html
Copyright © 2020-2023  润新知