0

我想知道如何更改此代码以将我重定向到任何超链接。

function myDayClickHandler(eventObj) {
    // Get the Date of the day that was clicked from the event object
    var date = eventObj.data.calDayDate;
    // store date in our global js variable for access later
    clickDate = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
    // open our add event dialog
    $('#add-event-form').dialog('open');
};

PS:我需要日期并单击日期变量。

谢谢

4

0 回答 0