defer attribute | defer property (Internet Explorer)

Switch View :
ScriptFree
defer attribute | defer property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the status of the script.

Syntax

HTML<element defer="p" ... >
JavaScript

p = object.defer

Property values

Type: Boolean

VARIANT_FALSE (false)

Default. Inline executable function is not deferred.

VARIANT_TRUE (true)

Inline executable function is deferred.

Remarks

Using the attribute at design time can improve the download performance of a document because the client does not need to parse and execute the script and can continue downloading and parsing the document instead.

 

 

Build date: 3/8/2012

Community Content

yecril
XML deferred = ignored

A deferred script of type XML never loads (and it is useless).