0

I created a simple dropdown menu using jquery and jqueryui. (see a basic example on jsfiddle).

Notice that the sliding all works, but when you click in the textbox of the Search dropdown and try to use the datepicker, the menu closes.

Can anyone please help me figure out how to keep that menu from closing when using the datepicker?

Thanks for your help.

4

1 回答 1

0

因为单击日期选择器时,您不再悬停菜单,因此再次切换菜单。避免这种情况的最简单方法(无需重写事件处理程序)是在单击日期选择器时为菜单添加 .hover() 函数。因为我不在电脑上,所以现在无法为您提供正确的脚本。

于 2012-08-19T21:13:00.377 回答