I am using this time picker.
Problem is, when I navigate to another page while the time picker is shown, it will still be shown on the next screen when it loads. How do I destroy the timepicker?
Have tried the below but to no avail.
tp.timepicker('destroy');
tp.timepicker('remove');
tp = null;