• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

popup window to editor

 
Joe Jose
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Thanks,
Joe.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic