alvin0618

Results comments of alvin0618

Hi nickcolley, thanks for the comment. Yes, I'm looking for solution without local server in between the local network. And you have mentioned Phonegap/Cordova is technically possible, can you give...

The above fixed just solve the highlighted color only. However, after setDates, when trying to deselect the highlighted date and it get unchanged. Please refer to the [link to jsfiddle!](http://jsfiddle.net/daxm82o6/)

Sorry for the late reply. Yes, I solved the problem by modifying the existing js ``` javascript var DateArray = (function(){ var extras = { get: function(i){ return this.slice(i)[0]; },...

you can use container to solve this ``` $('#date-range').datepicker({ format: 'yyyy-mm-dd', clearBtn: true, autoclose: true, disableTouchKeyboard: true, inputs: $('input[name="date-range-start-date"],input[name="date-range-end-date"]').toArray(), container: '#date-range-picker-container' }); ```

May I know why the example didn't hit the bug? the inline mode of datepicker is not hidden up. http://eternicode.github.io/bootstrap-datepicker/?markup=embedded&format=&weekStart=&startDate=&endDate=&startView=0&minViewMode=0&todayBtn=false&clearBtn=false&language=en&orientation=auto&multidate=&multidateSeparator=&keyboardNavigation=on&forceParse=on#sandbox

Fixed, code should be like this ``` mousedown: $.proxy(function(e){ // Clicked outside the datepicker, hide it if (!( this.element.is(e.target) || this.element.find(e.target).length || this.picker.is(e.target) || this.picker.find(e.target).length || this.isInline == true )){...

@razvanphp i downloaded the 1.5.0dev version, the problem is still there.

The fixed [link to #1277](https://github.com/eternicode/bootstrap-datepicker/issues/1277) just solve the highlighted color only. However, after setDates, when trying to deselect the highlighted date and it get unchanged. Please refer to the [link...

you can define container for the datepicker location ``` javascript { container: '#container-datepicker' } ```