|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
window.opener.function(param) problems
Hi there
We are using the excellent fckeditor (URL) on several of our projects. We have been uploading images with an upload script that we call from a parent window. The child window then uses Quote:
to send the name of the image and its url back tothe parent page. this works fine when everything is one one server. The problem is that we need to upload images to a different server for external publishing. the maintenace tools are on one server and the inormation is published on an external facing server. We call a different upload script which resides on the externallly facign server and all uploading happens correctly. But the wondow.opener line doesn't pass anything back. I get no errors when this happens Is there a problem with using windows.opener accross servers? I thought that javascrip was all client side so this kind of thing should be possible, but some times I get very confused! Regards Matt Price |
|
#2
|
||||
|
||||
|
Yes, there often is a problem when trying to do javascript across servers. Js is client side, which is actually why it's important to prevent cross-server attacks, so that a person performing actions on one site can't get nailed by js from or accessing another that may be malicious.
|
|
#3
|
||||
|
||||
|
If you try executing your js in Mozilla, btw, I suspect you'll see the error in the js debugging tool.
|
|
#4
|
|||
|
|||
|
Same problem...
Hello, I have the full FCKeditor working, and the upload functions working... however after the file uploads and it apears in the browse window... I click OK and it only closes the window and does not insert the image into the main browser window...
Any thoughts on this? tdgraphix |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > window.opener.function(param) problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|