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