Close window button
script:
<input type="submit" name="button" value="Close window" onclick="javascript:window.close();" />
Print button
script:
<input type="submit" name="button" value="Print" onclick="javascript:window.print();" />
Back button
script:
<input type="submit" name="button" value="Back" onclick="javascript:history.back(-1);" />
All above are the basic button html with javascript that usually used in creating
a web. Hope it will help you. :)
No comments:
Post a Comment