Hi, I am trying to display the MS Calendar Bahavior in an IFRAME that is displayed when the user clicks on an image next to the text field where I want the date to go. I am having trouble getting the correct date though - it always seems to return the date that was selected prior to the Click Event wheras obviously I want to return the date that the user selected... It's really strange as when I put a Window.Alert in the Calendar.htc file (FUNCTION: 'fnOnClick' event handler) it returns the correct date, but in the HTML page (source for the IFRAME element) the onclick event seems to fire and show the previous date - so the onclick event on the HTML page is firing before the HTC onclick can change the Calendars date . can anyone help please? thanks, Philip