This example uses the HTML DOM to assign an "onpageshow" event to a body element.
Note: The onpageshow event is not supported in Internet Explorer 10 and earlier versions.