I am trying to make an onclick event by which the present html page is saved as document and print them.
<html>
<body>
<div class="reportformat">
<div class="format1">
<table>
<tr>
<td><b> Blood Values </b></td>
<td><b>Normal Values</b></td>
</tr>
<tr>
<td>Haemoglobin :</td><td><?php echo $_POST["hb"]; ?>G%</td>
<td> [ M:13.5 -17.0G% ---- F:12.5-16.0G% ]</td>
</tr>
</table>
<div id="b1"><center>SAVE & PRINT</center></div>
</div>
</div>
</body>
</html>
Can anyone please help me saving the current html page as word document using jquery or javascript.