Ok, I'm not finding this one already in the Forum...
I'm using the Embed Plugin but thought it would be nice if the output not only showed my video file but also showed a link below it which read, "Video provided by: <link to site>"
So I created:
<div class="contentdiv" id="underlink"><br /><font style="font-size:9px; font-family:Arial, Helvetica, sans-serif"; >Video Provided by: www.stlagent.com</font></div>
(Class is CSS that hides the DIV on the page).
Then I change the on page script to read:
document.getElementById("textarea").innerHTML = code + document.getElementById("underlink");
However it returns the code as it should and then adds "[object HTMLDivElement]" instead of the actual content. I've tried to add .innerHTML, .value, etc and it keeps coming up Null.
Thank you in advance to all for your assistance. It is appreciated.
Sid
I'm using the Embed Plugin but thought it would be nice if the output not only showed my video file but also showed a link below it which read, "Video provided by: <link to site>"
So I created:
<div class="contentdiv" id="underlink"><br /><font style="font-size:9px; font-family:Arial, Helvetica, sans-serif"; >Video Provided by: www.stlagent.com</font></div>
(Class is CSS that hides the DIV on the page).
Then I change the on page script to read:
document.getElementById("textarea").innerHTML = code + document.getElementById("underlink");
However it returns the code as it should and then adds "[object HTMLDivElement]" instead of the actual content. I've tried to add .innerHTML, .value, etc and it keeps coming up Null.
Thank you in advance to all for your assistance. It is appreciated.
Sid