Try setting the href on your ele to return void: href="javascript:void(0);"
Hth, Dave On May 1, 3:12 pm, "Paul T." <[email protected]> wrote: > 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 [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 -~----------~----~----~----~------~----~------~--~---
