www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 defer Property
DEFER Attribute | defer Property

Sets or retrieves the status of the script.

Syntax

HTML<SCRIPT DEFER ... >
Scripting[ bDefer = ] SCRIPT.defer

Possible Values

bDeferBoolean that specifies or receives one of the following values.
falseDefault. Inline executable function is not deferred.
trueInline executable function is deferred.

The property is read/write. The property has a default value of false.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

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

Standards Information

This property is defined in HTML 4.0 World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

SCRIPT
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG