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 Code |
---|---|
public static string JavascriptQuote( string data, bool isString ) |
Visual Basic (Declaration) | Copy 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
StringSee Also
Utility Class
Smartsite.Web Namespace