Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFPageBase.JE Method

Encodes the provided text suitable for use as a JavaScript string.

Class: YetaWF.Core.Components.YetaWFPageBase
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public string JE( string? text );
public static string JE( bool val );

Parameters

text

The string to encode.

val

The value to encode.

Return Value

Returns encoded JavaScript string. The string to encode should not use surrounding quotes. These must be added after encoding.

See Also YetaWF.Core.Components.YetaWFPageBase ClassYetaWF.Core Overview