Skip to content Skip to sidebar Skip to footer

Twitter Bootstrap Datetime-picker Not Showing Properly In Modal

I have been using twitter bootstrap datetime-picker with ruby on rails for showing the calendar, also I am using this in a modal, but it shows as partial, because I am trying to sh

Solution 1:

Please add your Input field id on datepicker.

please do not write tag on your.JS file.

$(function() {
     "use strict";
     $(document).ready(function(){
       $('#testdate').datetimepicker(); 
     });
   });

Or you can add direct below code on your .html file

<script>
 $(document).ready(function(){
   $('#testdate').datetimepicker(); 
 });
</script>

Please also check from your browser firebug plug-in , twitter bootstrap datepicker javascript loading or not ?

Hope it will works :)

Post a Comment for "Twitter Bootstrap Datetime-picker Not Showing Properly In Modal"