HttpBrowserCapabilities.JavaScript Property


Gets a value indicating whether the client browser supports JavaScript.

 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.


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