Using Twitter Bootstrap and the Bootstrap-datepicker extension. I'm not able to have a datepicker display inside a popover.
<a href="#" id="add-event-button" class="btn btn-small">Add an Event</a>
$(document).ready(function () {
$("#add-event-button").popover({
title: "Add an Event",
placement: 'bottom',
content: '<input class="datepicker" type="text" />',
html: true
}).click(function (e) {
e.preventDefault();
});
});
The popover displays just fine, and <input class="datepicker" type="text" />
outside of the popover context displays the datepicker fine. Any ideas?