networkState property

Gets the current network activity for the element.

Syntax

object.get_networkState(number networkstate);

Property values

Type: number

NETWORK_EMPTY (0)

The element has not yet been initialized. All attributes are in their initial states.

NETWORK_IDLE (1)

A resource is selected, but the network is not actively being used.

NETWORK_LOADING (2)

The browser is attempting to download data.

NETWORK_NO_SOURCE (3)

No media resource could be found.

Standards information