how to select positions <a> onSelect for firefox in datepicker?

how to select positions <a> onSelect for firefox in datepicker?

 
  1. $('.font_datepicker_page').datepicker({
  2.     
  3.     onSelect: function(dateText, inst) {
  4.                   //I need to get X & Y.
  5.            var targetOffset = $(event.target).offset();
  6.            SelectPresentByDay(dateText, targetOffset);
  7.       },
  8.               changeMonth: true,
  9.               altFormat: "yy-MM-dd",
  10.               yearRange: "2002:2012",
  11.  }); 

  12. function SelectPresentByDay(date, targetOffset) {
  13.     html = 'text';
  14.      $(".calendar-item-popup .box-cont").html(html);
  15.                       
  16.         var etop=Math.floor(targetOffset.top)+52;
  17. var eleft=Math.floor(targetOffset.left)+57;
  18.       // show div
  19.         $('.calendar-item-popup').css({top:etop,left:eleft}).fadeIn(190);  
  20. }
in firefox does not take event.

I need to get the coordinates of a mouse click on the date and show the next data window

in firefox does not work http://jsfiddle.net/hea8y/z8auC/