In this tutorial we are going to see how to create file in web using Java Script. User have to enter the text in text and when they click the submit or download button, then the user can download that typed text in a text document.
First we will design the web page by using HTML, We need one Textbox and command button to download the text in textbox.
Sample Screenshots