I am currently using the Twitter Bootstrap framework, and when using the modal windows I cannot get over js elements to work like datepicker or validation, though chosen and
Wrap your datapicker JavaScript code inside
function pageLoad() {}