mattquantic
Programmer
Hi. I'm having a prob calling a method(?) from the code rather than on an event.
This text box, when clicked will take whatever is in the clip board and paste it in with the content.
Is there any way that I can do this voa code.
For example:
document.getElementById("WordTextst").focus();
document.getElementById("WordTextst").execCommand('Paste');
<textarea name="WordTextst" rows=10 cols=100 id="WordTextst" onclick="execCommand('Paste');">Some
click here
content
</textarea>
Thanks if you can point me in the right direction.
Matt
This text box, when clicked will take whatever is in the clip board and paste it in with the content.
Is there any way that I can do this voa code.
For example:
document.getElementById("WordTextst").focus();
document.getElementById("WordTextst").execCommand('Paste');
<textarea name="WordTextst" rows=10 cols=100 id="WordTextst" onclick="execCommand('Paste');">Some
click here
content
</textarea>
Thanks if you can point me in the right direction.
Matt