Advertisement
Home Open Editor ❯

HTML onpageshow Attribute

Example

<body onpageshow="myFunction()">

Try this code ❯

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
Home Open Editor ❯
Advertisement