I have problem and I need everybody help me.
I desgning a website using ASP.NET and VB.NET - I want, when user click button as show popup window with list user of system (from database) and click user of list, it's in textbox of opener window. Can you help me code it ???
Thanks a lot !!!
Không há»c không biết, há»c rá»i sẽ biết
![]() |
0 |
![]() |
You have to access the window.opener.document object in JavaScript. This will give you access to the DOM.
function getOpenerElem(Jb) { return window.opener.document.getElementById(Jb); }I use this function to access the opening windows DOM.
Joseph Guadagno
My Website: http://www.josephguadagno.net
My Blog - http://weblogs.asp.net/jguadagno/
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
![]() |
0 |
![]() |
Check below link
HC
Haissam Abdul Malak
MCAD.NET
| Blog |
![]() |
0 |
![]() |
Best way to implement this is by using modal window by this way you can pass parameters easily from parent window and the child window plus it lock the parent window till the child window closed
here a good sample of this plus custom control you can use easily
http://www.codeproject.com/aspnet/WebModalAnchor.asp
Tamer Fathy
MCAD .NET
http://tamer-fathy.blogspot.com/
Please remember to click Mark as Answer on the post that helps you.
This can be beneficial to other community members reading the thread.
![]() |
0 |
![]() |