Is there any method to use to save data from webpage to excel file or text file using jquery
?
Is there any method to use to save data from webpage to excel file
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no purely client-side solution using only a browser and jQuery, no. You either have to involve a web server (and even then, the user has to handle the “save file” dialog box), or a “thick” technology like Flash or a signed Java applet. (In either case, the user would have to grant the permissions to do it; most users being somewhat — and appropriately — paranoid, you’d have to already have a relationship with them.) Even the new File API, which offers limited access to the local file system (with the user’s permission), doesn’t support writing files.
You can open a window with the file data in it, but then the user has to take the action of saving it to disk.