type property

The type property must return the type of the last non-redirect navigation in the current browsing context.

Internet Explorer 9

 

Syntax

JavaScript

p = object.type

 

Property values

Type: Integer

A value that indicates how the request to load the page was generated.

TYPE_NAVIGATE (0 (0x00))

The page was loaded by an action that was generated by the user, such as clicking a link, entering a URL into the address bar, and so on.

TYPE_RELOAD (1 (0x01))

The page was refreshed.

TYPE_BACK_FORWARD (2 (0x02))

The page was loaded by navigating forward or backward through the history.

TYPE_RESERVED (255 (0xFF))

Any navigation type not defined by the other navigation types.

Standards information

See also

performanceNavigation

 

 

Show:
© 2014 Microsoft