title: Create text file in JavaScript
body: <p>I am trying to create a text file using JavaScript, I know it is possible by using ActiveX object, but it runs well only on IE browsers.</p>
  
  <p>My requirement is to generate a text file using JavaScript for a Safari browsers?</p>
  
  <p>Can anyone help me in this regard?</p>