Recent news

Friday, 29 April 2016

Export HTML Content Into Microsoft Word Document Without Refreshing Page Using jQuery






jQuery Word Export is a jquery plugin which export all the web page content without refreshing the page into the Microsoft Word document. This plugin export all the content weather it's html tag or image or html table.

Download FileSaver.js from  https://github.com/eligrey/FileSaver.js/

How To Use

1. Add the below mention library reference

<script src="jquery-1.11.1.min.js"></script>
<script src="FileSaver.js"></script>
<script src="jquery.wordexport.js"></script>
<script src="bootstrap.min.js"></script>


2. Use the below code to perform operation
  
 jQuery(document).ready(function ($) {
        $("a.jquery-word-export").click(function (event) {
            $("#page-content").wordExport();
        });
    });





Pranav Singh Author: Pranav Singh

Hello, I am Author of this blog. The main purpose of this blog is to provide all the jQuery plugins which is helpful in designing and developing a web application in a single location from the web.

Previous
Next Post »

1 comments:

Write comments
Alex Kevin
AUTHOR
7 August 2018 at 15:22 delete

Thanks for explaining how to do it and in your article you have explained it very well. https://www.technologist360.com/

Reply
avatar

E-mail Newsletter

Sign up now to receive breaking news and to hear what's new with us.

Recent Articles