title: Export in CSV from JSON in IE through javascript
body: <p>How to download table rows in CSV format in Internet Explorer from client side? At present I am using the below <code>URI</code> method to download it in other browser. But it seems Internet Explorer does not support the below mechanism. I want to support from IE version 8 till the latest. Any help for IE would be appreciated.</p>
  
  <pre><code>   var fileName = "Result"; 
     var uri = 'data:text/csv;charset=utf-8,' + escape(CSV);
     var link = document.createElement("a");    
     link.href = uri;
     link.style = "visibility:hidden";
     link.download = fileName + ".csv";
     document.body.appendChild(link);
     link.click();
     document.body.removeChild(link);
  </code></pre>