We have a modal dialog (actually it is a modal form) with a datepicker on it (jquery-ui version of 1.8. and jquery of 1.4.). Everything works fine, except when user selects a date on a datepicker, the anchor part of the URL (everything after the #) is cleared. This is a major problem because this part of the URL should not be changed when user selects date on modal dialog.
For your notice, anchor part is not changed, if datepicker is used without modal dialog (on base page). And also, the behaviour described above was not observed with jquery-ui version of 1.7.2 (but there are other problems with datepicker and modal dialog, like z-index - datepicker is shown behind dialog).
We have a scenario where we would like to cancel drag operation, if user presses Esc (escape) key on keyboard. Is there any method like cancel, stop, revert... (or any other smart way to implement this functionality using jquery library) which would stop operation and return object being dragged back to it's original position.
Now, the only way to cancel drag operation is to drag object over non-droppable area. But we would really like to cancel drag operation also with escape key pressed.