Here is my code snippet
    $("#txt").datepicker({onSelect: function() {$("txt").datepicker
('destroy');}});
    $("#txt").datepicker({onClose: function() {$("txt").datepicker
('destroy');}});



I need to override the onSelect due to the bug in IE with respect to
asp.net validation error. I am destroying the datepicker in both
events as I do not want the datepicker to display when my cursor moves
to the textbox attached to datepicker and I am using an external
button as I do not  wish to use the ( showon:button option buttontext
etc.)


Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to