zoukankan      html  css  js  c++  java
  • jQuery plugin : jqTransform

     

    Usage

    1- Add javascript inclusion in the header section of your web page

    //required
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.jqtransform.min.js"></script>
    
    

    2- Write your form

    <form class="jqtransform">
    <div class="rowElem">
    <label for="name">Name: </label>
    <input type="text" name="name"              />
    </div>
    <div class="rowElem"><input type="submit" value="send"              /><div>
    </form>
    

    3- Finally use the plugin

    After it, select the forms and call the jqTransform plugin. See some examples:

    <script type="text/javascript">
    $(function() {
        //find all form with class jqtransform and apply the plugin
        $("form.jqtransform").jqTransform();
    });
    </script>
    
    

    Additional information

    Options available

    Just edit the css file to customize your form, that's it.

    Compatibility

    We did our best to make it work on ie 6+, safari 2+, firefox 2+

  • 相关阅读:
    1489 蜥蜴和地下室
    1521 一维战舰
    1596 搬货物
    1873 初中的算术
    CF-799B
    101 pick me up~
    落叶归根
    P1149 火柴棒等式
    P1540 机器翻译
    图论学习十之Sparse table
  • 原文地址:https://www.cnblogs.com/luoxiaolei/p/5173309.html
Copyright © 2011-2022 走看看