BootStrap DatePicker NoConflict

For anyone who wasn't helped by the accepted answer (like me) see below...

Rather than use the jQuery initialization, utilize the data-api instantiation like so:

<input type="text" data-provide="datepicker" />

This allows you to use the Bootstrap datepicker, without worrying about conflicting with jQuery UI's datepicker.


You missed the parens on the noConflict function.

Code:

$(function(){
    var datepicker = $.fn.datepicker.noConflict();
    $.fn.bootstrapDP = datepicker;  
    $("#dp3").bootstrapDP();    
});

Working demo: http://jsfiddle.net/IrvinDominin/faxyz/