开发者

how to display date value into the textbox from opened window

when i click on link, a window opened wit开发者_运维知识库h datetime picker, i want to select the date and display into one textbox using java script.


You should be able to use:

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜