title: Display "Save as" dialog and save contents of a selected text inside textarea to a file on client's PC
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/609530/download-textarea-contents-as-a-file-using-only-javascript-no-server-side">Download textarea contents as a file using only Javascript (no server-side)</a>  </p>
  </blockquote>
  
  
  
  <p>I have a form which shows some user related information in a textarea.
  If user want to save the information, he/she will copy the text from textarea then click on [Save] button, a save as dialog appear to allow user to choose an appropriate path then export the selected text to text file</p>
  
  <p>The problem is that i don't know how to display the Save as dialog and write to the selected path as text file at client site (It may use Javascript or Jquery?). So i wonder if someone could give me some hint?</p>
  
  <p>Thank you very much.</p>