Difference between revisions of "Javascript"
From Richard's Wiki
(New page: * [http://www.howtocreate.co.uk/tutorials/javascript/domevents Generate and Consume DOM Events]) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
* [http://www.howtocreate.co.uk/tutorials/javascript/domevents Generate and Consume DOM Events] | * [http://www.howtocreate.co.uk/tutorials/javascript/domevents Generate and Consume DOM Events] | ||
| + | * [[Resizable Div]] | ||
| + | * Disable Back button: | ||
| + | <script type="text/javascript" language="javascript"> | ||
| + | function GoBack() | ||
| + | { | ||
| + | window.history.forward(); | ||
| + | } | ||
| + | </script> | ||
| + | //Call this JavaScript function on the onload event of body tag. | ||
| + | <body onload="GoBack();"> | ||
Latest revision as of 23:12, 2 December 2010
- Generate and Consume DOM Events
- Resizable Div
- Disable Back button:
<script type="text/javascript" language="javascript">
function GoBack()
{
window.history.forward();
}
</script>
//Call this JavaScript function on the onload event of body tag.
<body onload="GoBack();">