jquery-mobilemobiscroll

Closing the Mobiscroll Datepicker Explicitly


My application has the session timeout, the application goes to the login page after 15 mins of inactive. The problem i am facing is when the user opened the Mobiscroll date picker and remain in the same page for the 15 mins, the Session timeout alert shows, but the mobiscroll date picker remain in the login page also.

Is there any way to close the mobiscroll date picker explicitly.


Solution

  • $('.dw').detach();

    to delete the mobiscroll screen from the page.

    $('.dwo').detach(); is to delete the mobiscroll from the DOM.