I have a modal window where I have a table where the user can choose times. I was able to get the timepicker to work inside the tables in this example.
$('.timepicker').timepicker().on('changeDate', function(ev){
$('.timepicker').timepicker('hide');
});
However, in this example the timepicker is not displaying. There are no exceptions being thrown.
For future reference, you can edit this part on its css:
I ended up going with a jquery plugin which worked right out of the box for selecting the times.
HTML
Javascript
Available via CDN.
It works well inside the modal dialog.
Here is an example:
http://jsfiddle.net/jkittell/C8w8v/126/
Replace this code with line #666 in
bootstrap-timepicker.js
file. It's work for me. This takes current modalz-index
value and increase it with10
.