Redigera

Dela via


HttpBrowserCapabilities.JavaScript Property

Definition

Gets a value indicating whether the client browser supports JavaScript.

public:
 property bool JavaScript { bool get(); };
public bool JavaScript { get; }
member this.JavaScript : bool
Public ReadOnly Property JavaScript As Boolean

Property Value

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

Remarks

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

Applies to