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.
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(); }); });
Post A Comment:
0 comments: