0

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.

4

2 回答 2

1

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

从页面中删除移动滚动屏幕。

$('.dwo').detach();就是从DOM中删除mobiscroll。

于 2012-09-10T17:32:05.313 回答
0

您还可以在“取消”按钮上触发单击事件,这与用户手动关闭日期选择器相同:

$("#dw_cancel").click();
于 2016-09-14T12:43:44.737 回答