how to add select2 , datepicker, timepicker in interactive pages
I have made an index page interactive using php & ajax but select2, datepicker, & timepicker only works on index page but not the content included on that page.
Suppose i have 3 page.
1. Index Page - home page to be shown with modal in it and select2, datepicker & timepicker in working only in this page written model.
2. index Content- to be interactive (using ajax) whenever data is added or deleted.
3. modals - modals is being included in index content page but select2, datepicker, & timepicker does not works ? why it is so? i tried all library of select2, datepicker & timepicker but its not working.Please help me out.