|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hi,
I have a generic search tool in one my application servers. I am trying to open this search tool from another application in a different server, using window.open method in a new window. On closing this new window, I am assigning some parent fields using window.opener property. But for some reasons, this is not working. So, I tried putting this generic search tool in the same server that of my application and found working. Any ideas, why it is not working when they are in different server. Hope I made the clear. cheers. |
|
#2
|
||||
|
||||
|
You can't control a page that is not on the same server as the one you are calling the code from. Think about it from a security perspective.
|
|
#3
|
|||
|
|||
|
window.opener not working
Thanks for your reply. That's a good point, which I haven't thought of. So, are there any workarounds or suggestions to get the values from the child window referring a different application server. Because, we want to have that generic search tool in one application server rather than having a copy of that in all application servers.
cheers. |
|
#4
|
||||
|
||||
|
How about keeping all the searching in the one window, and in the one application? Basically you can't do much cross-site stuff with client side code - keep it server-side.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > window.opener not working |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|