If you want to export HTML with a custom file name, pass your desired file name in the Export2Word () function. There are many ways to save data in a web form. i am developing mobile web app for conducting survey in html5. Letâs show you each of them separately and point the differences. When the Save All button is clicked, a loop is executed over all the rows of the HTML Table and a JSON array of Customer objects is generated. Below code shows the JavaScript function used to construct the HTML source data with header, body and the footer. Use the "Save as web page" option in the File menu. The following example shows how to use the jsPDF library to convert HTML to PDF and generate a PDF document from HTML content. The data will be displayed in that form based on the passing id from the edit button. Use the