开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜