HTML onpageshow Attribute

❮ HTML Attributes

Example

<body onpageshow="myFunction()">

Meaning

The onpageshow attribute fires when a suspended page is shown again.




Standard Syntax

<element onpageshow="script">



Browser Support




Status




Applies to:

The onpageshow attribute can be used on the following element:

Element Attribute
<body> onpageshow






Attribute Values

Value Description
script Specifies the script to be run on onpageshow
❮ HTML Attributes