Изменить

Поделиться через


HttpCapabilitiesBase.JavaScript Property

Definition

Caution

The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support. http://go.microsoft.com/fwlink/?linkid=14202

Gets a value indicating whether the browser supports JavaScript.

public:
 property bool JavaScript { bool get(); };
[System.Obsolete("The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool JavaScript { get; }
[<System.Obsolete("The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.JavaScript : bool
Public ReadOnly Property JavaScript As Boolean

Property Value

true if the browser supports JavaScript; otherwise, false. The default is false.

Attributes

Remarks

If the browser supports JavaScript but scripting is disabled through a security setting, the JavaScript property will return true but script will not execute on the browser.

Applies to