File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes popup window to editor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "popup window to editor" Watch "popup window to editor" New topic

popup window to editor

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125

In the project which I am doing, I have got a screen with an editor (Asbru Content Editor) and a button on its 'onclick' function a popup window with a list of items.
The popup window has got an 'ADD' and a 'CLOSE' button.
At first I failed to paste selected item (one or more) into the editor. I was using Asbur Editor's javascript function to paste the value. Following is the code:

Then with the help of my colleague I was successful.The change I made is :

But I don't understand why it worked on this way.My colleagues explanation was it was trying to access the variables as html. But I didn't understand it.

Can anybody help me to clarify this ? Please don't hesitate to ask if you don't understand my explanation.

I agree. Here's the link:
subject: popup window to editor
It's not a secret anymore!