This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns a value for Javascript, optionally quoted if needed.

Namespace: Smartsite.Web
Assembly:  Smartsite.Web (in Smartsite.Web.dll)

Syntax

C#Copy imageCopy Code
public static string JavascriptQuote(
	string data,
	bool isString
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function JavascriptQuote ( _
	data As , _
	isString As  _
) As 

Parameters

data
String
The data.
isString
Boolean
Informs whether the value is to be seen as a string in Javascript.

Return Value

String

See Also

Utility Class
Smartsite.Web Namespace
Advanced