views:

39

answers:

2

hi,

when i click on link, a window opened with datetime picker, i want to select the date and display into one textbox using java script.

A: 

I think you can use window.opener.document to reference the 'parent' window, but you'll have to test this.

Andre
+1  A: 

You should be able to use:

window.opener.document.getElementById('TextBoxID').value = dtpValue;
xenosyde