开发者

Is there a simple way to select and copy 1 or 2 columns of an HTML table?

开发者 https://www.devze.com 2023-01-23 04:35 出处:网络
I\'ve heard that there\'s a button you can hold to drag a selection of a table column in Firefox, but I\'m looking for a cross-browser answer.I\'m wondering if maybe I can put radio buttons above the

I've heard that there's a button you can hold to drag a selection of a table column in Firefox, but I'm looking for a cross-browser answer. I'm wondering if maybe I can put radio buttons above the columns, have the visitor sele开发者_如何学Pythonct them, then, on the click of a button, have the columns copied to their clipboard. I'm sure many have come across this problem; anyone with a good solution?


You can't reliably set the clipboard from HTML cross browser. Flash can do it though.

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/System.html#setClipboard%28%29

0

精彩评论

暂无评论...
验证码 换一张
取 消