J JJ Nov 6, 2006 #1 Is there a way to add text to the clipboard (on the click of a button on the web page) thats cross browser/platform compatible? JJ
Is there a way to add text to the clipboard (on the click of a button on the web page) thats cross browser/platform compatible? JJ
S Steve C. Orr [MVP, MCSD] Nov 6, 2006 #2 I believe the JavaScript window.clipboardData.setData should do the trick. window.clipboardData.setData('text', 'Some Custom Text'); Here's more info: http://msdn.microsoft.com/library/d...hor/dhtml/reference/objects/clipboarddata.asp http://www.gamedev.net/community/forums/topic.asp?topic_id=281951
I believe the JavaScript window.clipboardData.setData should do the trick. window.clipboardData.setData('text', 'Some Custom Text'); Here's more info: http://msdn.microsoft.com/library/d...hor/dhtml/reference/objects/clipboarddata.asp http://www.gamedev.net/community/forums/topic.asp?topic_id=281951
J JJ Nov 6, 2006 #3 Thanks. Steve C. Orr said: I believe the JavaScript window.clipboardData.setData should do the trick. window.clipboardData.setData('text', 'Some Custom Text'); Here's more info: http://msdn.microsoft.com/library/d...hor/dhtml/reference/objects/clipboarddata.asp http://www.gamedev.net/community/forums/topic.asp?topic_id=281951 -- I hope this helps, Steve C. Orr MCSD, MVP, CSM http://SteveOrr.net Click to expand...
Thanks. Steve C. Orr said: I believe the JavaScript window.clipboardData.setData should do the trick. window.clipboardData.setData('text', 'Some Custom Text'); Here's more info: http://msdn.microsoft.com/library/d...hor/dhtml/reference/objects/clipboarddata.asp http://www.gamedev.net/community/forums/topic.asp?topic_id=281951 -- I hope this helps, Steve C. Orr MCSD, MVP, CSM http://SteveOrr.net Click to expand...