Wednesday, September 17, 2008

javascript 剪貼簿

<script type="text/javascript">
<script type="text/javascript">
function clipboard(str){
if(event.ctrlKey){
if(event.keyCode=86){
alert(window.clipboardData.getData("TEXT"))
}
}else{
}
}
</script>


IE版的

No comments:

Post a Comment