Friday, July 27, 2012

How to make A link to submit a form?

<form>
 <a href="#" onclick="parentNode.submit();">Submit</a>
</form>

How to add print button in a web page by Javascript?

 
<a href="javascript:window.print()">Print</a>