I need to copy value of data in ajax success function
$.ajax({
url: 'images/getDownloadUrl/',
dataType: 'text',
async: false,
processData: false,
contentType: false,
type: 'POST',
success: function(data){
document.execCommand(data);
}
});
How can i copy value of this variable data to clipboard, because this is not work if i only put execCommand?