Help!
I'm working in IE 5.0 and I can't pass data to a child window. Here is the main idea:
The code for the parent window is:
function openCalendar(objReceiver){
child = window.open "calendar02.html","calendarWindow", "WIDTH=180, HEIGHT=250, RESIZABLE=YES, DEPENDENT=TRUE, MENUBAR=NO, LOCATION=NO, SCROLLBARS=NO, TITLEBAR=NO, HOTKEYS=NO"
;
window.child.calControl.receiver.value=objReceiver;
}
And the related link in form is:
<A HREF="#" onClick='openCalendar("myForm.dateField"
;'><IMG SRC="calendar.gif" NOBORDER></A>
Finally, the code for this hidden in the child window is:
<INPUT TYPE=HIDDEN NAME=receiver VALUE="">
So, why the child window never got the value set in the "openCalendar()" function?
Thanx!
[sig][/sig]
I'm working in IE 5.0 and I can't pass data to a child window. Here is the main idea:
The code for the parent window is:
function openCalendar(objReceiver){
child = window.open "calendar02.html","calendarWindow", "WIDTH=180, HEIGHT=250, RESIZABLE=YES, DEPENDENT=TRUE, MENUBAR=NO, LOCATION=NO, SCROLLBARS=NO, TITLEBAR=NO, HOTKEYS=NO"
window.child.calControl.receiver.value=objReceiver;
}
And the related link in form is:
<A HREF="#" onClick='openCalendar("myForm.dateField"
Finally, the code for this hidden in the child window is:
<INPUT TYPE=HIDDEN NAME=receiver VALUE="">
So, why the child window never got the value set in the "openCalendar()" function?
Thanx!