AdBlock Detected

We provide high-quality source code for free. Please consider disabling your AdBlocker to support our work.

Buy me a Coffee

Saved Tutorials

No saved posts yet.

Press Enter to see all results

Export Html To Ms word Using jQuery

By pushpam abhishek
Listen to this article
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 this post

pushpam abhishek

About pushpam abhishek

Pushpam Abhishek is a Software & web developer and designer who specializes in back-end as well as front-end development. If you'd like to connect with him, follow him on Twitter as @pushpambhshk

Comments