M
Merex
Hello all,
I want to use the Calendar control as a popup window. I would like
each day's link to execute some javascript which would set the value
of a textbox on the window which opened the calendar and then close
the calendar window. So basically I want to customize the <A> tag for
each date to call my custom JavaScript function.
function SelectedDate(strDate) {
window.opener.document.forms["frmMain"].elements["txtDate"].value =
strDate;
}
Can anyone point me in the right direction. I am thinking that I
might be able to hook into some event that the calendar generates...
Thanks,
Ross
I want to use the Calendar control as a popup window. I would like
each day's link to execute some javascript which would set the value
of a textbox on the window which opened the calendar and then close
the calendar window. So basically I want to customize the <A> tag for
each date to call my custom JavaScript function.
function SelectedDate(strDate) {
window.opener.document.forms["frmMain"].elements["txtDate"].value =
strDate;
}
Can anyone point me in the right direction. I am thinking that I
might be able to hook into some event that the calendar generates...
Thanks,
Ross