Yeah tis IE only. Flash can/could do it... I think it's been removed in later versions of browsers? I dunno - I just know it doesn't work very well cept in IE :)
Cheers, JK On Mon, Jun 21, 2010 at 10:57 AM, Greg Keogh <[email protected]> wrote: > Jordan, searches for “JavaScript Clipboard” produce a lot of results that > use code like the following: > > > > <textarea id="holdtext" style="display:none"></textarea> > > > > <script type="text/javascript"> > > function toClipboard(message) { > > holdtext.innerText = message; > > var copied = holdtext.createTextRange(); > > copied.execCommand("Copy"); > > } > > </script> > > > > In my IE8 dev machine this ugly code actually works, but I seriously doubt > it will be browser neutral. Anyway, it will be suitable for the upcoming > demo. One of the C++ guys reckons he’s crash hot with JavaScript, so I’ll > tell him this works and I’ll leave it to him to do magic with the script and > the XML I’ve placed on the Clipboard. > > > > I’ll let you know if I find anything more generally useful on the subject. > > > > Greg > > _______________________________________________ > ozsilverlight mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight > >
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
