Problem: when a date is selected (via mouse) the page is redirected to
'#'.

Code is:

$(ele).datepicker(
                "dialog",
                '',
                getEvents,
                {dateFormat: 'yymmdd'},
                [200, 200]);


'ele' is an <a> element I have on the page. my 'getEvents' method is
coded to return void(0), thus I would have expected the href= action
of the datepicker dialog to be suppressed, but it is not.  Looks like
the onSelect function is never called because the page is redirected
to '#'.

If I call the same code but leave onSelect function blank, I am able
to click on the days show on the calendar with no problem.  Can
someone help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to