jquery datepicker - retrieve events and show on hover in dialog - allow the a href to be clicked to access individual event entries

Posted by paul724 on Stack Overflow See other posts from Stack Overflow or by paul724
Published on 2012-10-08T21:32:25Z Indexed on 2012/10/08 21:37 UTC
Read the original article Hit count: 110

Filed under:
|
|
|
|

Please see this jsfiddle - http://jsfiddle.net/paul724/HXb6v/

What is working:

  1. The datepicker displays correctly, picks up the css for todays date and on hover.
  2. The dialog box follows the mouse
  3. On click the dialog box "stops" and displays a link

What I want to achieve

  1. When a table cell is hovered over the title of the dialog box shows the date e.g "Mon 8th Oct 2012"
  2. When a table cell is hovered over the html of the dialog box shows the events for that day in list format (there is code that succesfully retrieves the first row in function getSelectedDates() )
  3. function getSelectedDates() needs to be called in the hover event - showing multiple events for that date in the dialog box

I hope that if we can display the date being hovered over in the title of the dialog then we can use the same information to retrieve the rows from the database to populate the html of the dialog for that day

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about dialog