Export Html To Ms word Using jQuery

Export html to ms word document using Without Refreshing Page Using jQuery, jQuery Word Export
Share it:
Export Html To Ms word Using jQuery


In these articles, jQuery Word Export is a jquery plugin that exports all the web page content without refreshing the page into the Ms word document. This plugin export all the content whether it's HTML tag or image or HTML table.


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

How To Use Export Html To Ms word

  •  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>
  • Use the below code to perform the operation

 jQuery(document).ready(function ($) {
        $("a.jquery-word-export").click(function (event) {
            $("#page-content").wordExport();
        });
    });

Share it:

jQuery

Post A Comment:

0 comments: