• 修改日期插件问题


    $(function() {
    var msg = "${msg}";
    if(msg!="") alert(msg);;
    row.mousemoveBackground("tbl_main");
    row.backgroundColor("tbl_main");
    var dates = $("#start,#end").datepicker({
    changeYear:true,
    changeMonth: true,
    numberOfMonths: 1,
    onSelect: function( selectedDate ) {
    var option = this.id == "start" ? "minDate" : "maxDate",
    instance = $( this ).data( "datepicker" ),
    date = $.datepicker.parseDate(instance.settings.dateFormat
    ||$.datepicker._defaults.dateFormat,selectedDate,instance.settings);
    dates.not(this).datepicker("option",option,date);
    }
    });

    通过这个加载日期插件会在表格下出现阴影,作法是去掉js/date/ui/jquery.ui.datepicker.js中的

    this.dpDiv = $('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>');

    ui-helper-clearfix  可以解决。

  • 相关阅读:
    apk反编译
    Hybrid App
    Hybrid App
    Hybrid App
    Hybrid App 介绍
    android-adb
    .java生成dex文件
    android Activity launch mode 知识点总结
    2018.10.15学习总结
    2018.10.12
  • 原文地址:https://www.cnblogs.com/lanblogs/p/3242654.html
Copyright © 2020-2023  润新知