I'm having an issue with the DatePicker which I believe would require a feature request but I'm open to workarounds. The issue is that once a date has been selected using the DatePicker, the input field the DatePicker is bound to loses focus. If a user tabs to a date field, the DatePicker opens on focus, the user selects a date with the mouse, and then hits tab, focus returns to the top of the page. This occurs in IE6 and IE7 (hasn't been tested on any other browser). I assume this is because the focus is moved to the DatePicker itself when the user clicks, and then the DatePicker is removed from the DOM on close. I would like to find some way of returning focus to the input field without triggering the DatePicker to open again. Simply adding $ (this).focus() to the onclose callback works only when the DatePicker is set to open on button click only and not on focus.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
