Thanks, Paul. Not the answer I was hoping for, but I'll deal with it.
Quote:
|
not really suitable for casual visitors.
|
So those solutions don't cover the 5%-or-whatever of people using Mozilla browsers, but only the sub-fraction of those who have modified the
settings of their Mozilla browsers. Yeah, you're right that this won't be the answer to my question.
I guess that there
is no good solution, so my resolution of this, I suppose, will simply be to not worry about it. I'm just going to use a script that works for IE, and include an alert notification for non-IE users telling them that it doesn't work without IE:
Code:
function sendToClipboard(s)
{
if( window.clipboardData && clipboardData.setData )
{
clipboardData.setData("Text", s);
}
else
{
alert("Internet Explorer required");
}
}
<body>
<input type="button" value="Copy to Clipboard" onclick="sendToClipboard(document.getElementById('textareaIDgoes here').innerHTML)" />
</body>
Thanks much for your reply! I appreciate it.
- Paul