Encodes the provided text suitable for use as a JavaScript string.
Class: YetaWF.Core.Components.YetaWFComponentBase
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static string JE( string? text ); public static string JE( bool val );
text
The string to encode.
val
The value to encode.
Returns encoded JavaScript string. The string to encode should not use surrounding quotes. These must be added after encoding.
See Also YetaWF.Core.Components.YetaWFComponentBase ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com