Salve a tutti, oggi mi è venuta la brillante idea di usare Zclip ma non riesco a farlo funzionare, mi sapreste dire cosa sto sbagliando ???
Questo è il mio codice:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.zclip/jquery.zclip.min.js"></script>
</head>
<body>
<input type="text" id='description'>
<button id='copy-description'>copy</button>
<script>
$(document).ready(function(){
$('a#copy-description').zclip({
path:'ZeroClipboard.swf',
copy:$('#description').text()
});
</script>
</body>
</html>