Lestat_
05-11-2011, 12:39 PM
I'm trying to get this to work but I can't seem to find the correct way to do it :(
In posting a new thread, I added a link which opens a popup in a new window, where the user can upload a file. Then, once uploaded, I'm trying to get the url of the uploaded file added in the vB_Text_Editor with this line of code (javascript) :
window.opener.document.getElementbyId("vB_Editor_001_textarea").InnerHtml = myurl;
but, although there is no javascript error, the url is not added to the vB_Text_Editor on the opener page.
What am I doing wrong ?
Thanks in advance for a reply :)
In posting a new thread, I added a link which opens a popup in a new window, where the user can upload a file. Then, once uploaded, I'm trying to get the url of the uploaded file added in the vB_Text_Editor with this line of code (javascript) :
window.opener.document.getElementbyId("vB_Editor_001_textarea").InnerHtml = myurl;
but, although there is no javascript error, the url is not added to the vB_Text_Editor on the opener page.
What am I doing wrong ?
Thanks in advance for a reply :)