Plugin jQuery: Generating Files with jQuery

Generating Files with jQuery
http://www.jqueryrain.com/?http://demo.tutorialzine.com/2011/05/generating-files-javascript-php/
http://tutorialzine.com/2011/05/generating-files-javascript-php/
ms, , PHP, , Plugins, , Web
17/05/2011

Nội dung

Generating Files with jQuery

When building a web application, you oftentimes need to give users the ability to download a piece of data as a file. It could be a backup of configuration settings, reports, or other piece of information that is generated dynamically.

The usual solution to this problem would be to have a dedicated export script that selects from a database and builds the file you need. However, as we will be proving in this short tutorial, there is another way.


Nguồn: www.jqueryrain.com/2011/05/generating-files-with-jquery/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận