FooTable icon indicating copy to clipboard operation
FooTable copied to clipboard

footable is not working with jquery-ui datepicker

Open jpgujar opened this issue 7 years ago • 3 comments

Here is my javascript.Only Footable is working but datepicker and Bootstrap tooltip js is not applied I want to use all of them in same page. $(document).ready(function () { $('[data-toggle="tooltip"]').tooltip();

}); $(function () { $(".myDate").datepicker({ format: "dd-mm-yyyy", startDate: "01-01-1990", startView: 2, clearBtn: !0, forceParse: !1, calendarWeeks: !0, autoclose: !0, todayHighlight: !0 });

}); $('.table').footable(); function pageLoad(sender, args) { if (args.get_isPartialLoad()) {

    $('[data-toggle="tooltip"]').tooltip();
   
   
    $(function () {
        $(".myDate").datepicker({
            format: "dd-mm-yyyy",
            startDate: "01-01-1990",
            startView: 2,
            clearBtn: !0,
            forceParse: !1,
            calendarWeeks: !0,
            autoclose: !0,
            todayHighlight: !0
        });
    });
    $('.table').footable();
}

}

jpgujar avatar Jun 28 '17 14:06 jpgujar

I have the same problem with the same datepicker plugins. Any solution?

IrvanWijaya avatar Mar 13 '19 06:03 IrvanWijaya

You need to do with delegation

Something like this $('.footable').on('focusin', '.myDate', function() { $(this).datepicker(); })

cslevy avatar Mar 28 '19 17:03 cslevy

try adding $('.footable').footable();

arnaldinhobjj avatar Apr 08 '24 13:04 arnaldinhobjj