HTML onpageshow Attribute
Example
<body onpageshow="myFunction()">
Meaning
The onpageshow attribute fires when a suspended page is shown again.
Standard Syntax
<element onpageshow="script">
Applies to:
The onpageshow attribute can be used on the following element:
| Element | Attribute |
|---|---|
| <body> | onpageshow |
Advertisement
Attribute Values
| Value | Description |
|---|---|
| script | Specifies the script to be run on onpageshow |