Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
Array
Span
classsWordList
Boolean
Span
classsWordList
Date
Span
classsWordList
Function
Span
classsWordList
JSON
Span
classsWordList
Math
Span
classsWordList
Namespace
Span
classsWordList
Number
Span
classsWordList
Object
Span
classsWordList
QName
Span
classsWordList
RegExp
Span
classsWordList
Special Operators
Span
classsWordList
Statements
Span
classsWordList
String
Span
classsWordList
XML
Span
classsWordList
XMLList
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
Infinity
Numeric value representing infinity.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)NaN
indexstyletruedisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
idclass

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryNumeric value representing infinity.Value representing Not-a-Number. Table Row (tr)

Table Cell (td)
Object
Table Cell (td)undefined
The value undefined. HTML Table

Colgroup Tag
Col
width80px
Col
Table Head (thead) Table Row (tr)styleservoy sSummaryid Table Row (tr)
Table Cell (td)
String
Table Cell (td)decodeURI(encodedURI)
12%30%58%height: 30px;
Table Head (th)
colspan2
Method Summary
3Methods SummaryDecodes a URI previously encoded with encodeURI or another similar routine. Table Row (tr)
Table Cell (td)
String
Table Cell (td)decodeURIComponent(encodedURI)
encodeURI(URI)
Decodes a URI component previously created by encodeURIComponent or by a similar routine. Table Row (tr)
Table Cell (td)
String
Table Cell (td)Encodes a URI by replacing certain characters with escape sequences. Table Row (tr)
Table Cell (td)
String
Table Cell (td)encodeURIComponent(URI)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)eval(expression)
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.isFinite(n)
Evaluates JavaScript code passed as a string. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)Returns true if the given number is a finite number. Table Row (tr) Table Cell (td)void Table Cell (td)isNaN(value)
The NaN property indicates that a value is 'Not a Number'. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)isXMLName(name)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)parseFloat(text)
Returns true if the given name can be used as a valid name for an XML element or attribute.Makes a floating point number from the starting numbers in a given string. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)parseInt(text)
Makes a integer from the starting numbers in a given string in the base specified. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)parseInt(text, radix)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)uneval(obj)
Makes a integer from the starting numbers in a given string in the base specified.Returns the string representation behind a given object. HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)ididInfinity Table Row (tr)nametd

Infinity

Table Row (tr)id

des Table Cell (td) DivclasssIndent
Numeric value representing infinity.
Table Row (tr)idtd
ret

Returns

div Table Cell (td) Div
classsIndent
Value representing sIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
Infinity
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idNaN
Table Row (tr)
idname
Table Cell (td)

NaN

Table Row (tr)
iddes

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
NaNname

NaN

dessIndent
Value representing Not-a-Number.
Table Row (tr)idtd
ret

Returns

divsIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
NaN
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idundefined
Table Row (tr)
idname
Table Cell (td)

undefined

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The value undefined.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Object
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
undefined
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Details
Table Body (tbody)
iddecodeURI-String
Table Row (tr)
idname
Table Cell (td)

decodeURI

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
decodeURI
Span
(encodedURI)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Decodes a URI previously encoded with encodeURI or another similar routine.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} encodedURI
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "http://www.mysite.com/my code.asp?name=[cool]";
var encoded = encodeURI(str);
var decoded = decodeURI(encoded);
application.output(encoded);//http://www.mysite.com/my%20code.asp?name=%5bcool%5d
application.output(decoded);//http://www.mysite.com/my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iddecodeURIComponent-String
Table Row (tr)
idname
Table Cell (td)

decodeURIComponent

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
decodeURIComponent
Span
(encodedURI)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} encodedURI
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "my code.asp?name=[cool]";
var encoded = encodeURIComponent(str);
var decoded = decodeURIComponent(encoded);
application.output(encoded); //my%20code.asp%3fname%3d%5bcool%5d
application.output(decoded); //my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idencodeURI-String
Table Row (tr)
idname
Table Cell (td)

encodeURI

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
encodeURI
Span
(URI)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Encodes a URI by replacing certain characters with escape sequences.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} URI
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "http://www.mysite.com/my code.asp?name=[cool]";
var encoded = encodeURI(str);
var decoded = decodeURI(encoded);
application.output(encoded);//http://www.mysite.com/my%20code.asp?name=%5bcool%5d
application.output(decoded);//http://www.mysite.com/my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idencodeURIComponent-String
Table Row (tr)
idname
Table Cell (td)

encodeURIComponent

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
encodeURIComponent
Span
(URI)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} URI
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "my code.asp?name=[cool]";
var encoded = encodeURIComponent(str);
var decoded = decodeURIComponent(encoded);
application.output(encoded); //my%20code.asp%3fname%3d%5bcool%5d
application.output(decoded); //my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
ideval-String
Table Row (tr)
idname
Table Cell (td)

eval

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Object
Span
stylefont-weight: bold;
eval
Span
(expression)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Evaluates JavaScript code passed as a string. Returns the value returned by the evaluated code.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} expression
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Object
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
eval("var x = 2 + 3;");
application.output(x); // prints: 5.0
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idisFinite-Number
Table Row (tr)
idname
Table Cell (td)

isFinite

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
isFinite
Span
(n)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns true if the given number is a finite number.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Number} n
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
application.output(isFinite(1)); // prints: true
application.output(isFinite(Infinity)); // prints: false
application.output(isFinite(isNaN)); // prints: false
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idisNaN-Object
Table Row (tr)
idname
Table Cell (td)

isNaN

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
isNaN
Span
(value)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The NaN property indicates that a value is 'Not a Number'.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object} value
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
isNaN( value )
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idisXMLName-String
Table Row (tr)
idname
Table Cell (td)

isXMLName

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
isXMLName
Span
(name)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns true if the given name can be used as a valid name for an XML element or attribute.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} name
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
application.output(isXMLName("good_name")); // prints: true
application.output(isXMLName("bad name")); // because of the space, prints: false
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idparseFloat-String
Table Row (tr)
idname
Table Cell (td)

parseFloat

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
parseFloat
Span
(text)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Makes a floating point number from the starting numbers in a given string.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} text
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
parseFloat('string')
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idparseInt-String
Table Row (tr)
idname
Table Cell (td)

parseInt

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
parseInt
Span
(text)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Makes a integer from the starting numbers in a given string in the base specified.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} text
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
parseInt('0774')
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idparseInt-String_Number
Table Row (tr)
idname
Table Cell (td)

parseInt

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
parseInt
Span
(text, radix)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Makes a integer from the starting numbers in a given string in the base specified.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} text
{Number} radix
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
parseInt('0774' , 8)
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iduneval-Object
Table Row (tr)
idname
Table Cell (td)

uneval

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
uneval
Span
(obj)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the string representation behind a given object.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object} obj
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
application.output(uneval(isNaN)); // prints something like: function isNaN() { [native code for isNaN, arity=1] }
Table Row (tr)
classlastDetailRow
Table Cell (td) 

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
undefinedname

undefined

dessIndent
The value undefined.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsdecodeURIname

decodeURI(encodedURI)

dessIndent
Decodes a URI previously encoded with encodeURI or another similar routine.
prs

Parameters

sIndentencodedURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
decodeURIComponentname

decodeURIComponent(encodedURI)

dessIndent
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
prs

Parameters

sIndentencodedURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encodeURIname

encodeURI(URI)

dessIndent
Encodes a URI by replacing certain characters with escape sequences.
prs

Parameters

sIndentURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encodeURIComponentname

encodeURIComponent(URI)

dessIndent
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
prs

Parameters

sIndentURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
evalname

eval(expression)

dessIndent
Evaluates JavaScript code passed as a string. Returns the value returned by the evaluated code.
prs

Parameters

sIndentexpression ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isFinitename

isFinite(n)

dessIndent
Returns true if the given number is a finite number.
prs

Parameters

sIndentn ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isNaNname

isNaN(value)

dessIndent
The NaN property indicates that a value is 'Not a Number'.
prs

Parameters

sIndentvalue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isXMLNamename

isXMLName(name)

dessIndent
Returns true if the given name can be used as a valid name for an XML element or attribute.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
parseFloatname

parseFloat(text)

dessIndent
Makes a floating point number from the starting numbers in a given string.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
parseIntname

parseInt(text)

dessIndent
Makes a integer from the starting numbers in a given string in the base specified.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
parseIntname

parseInt(text, radix)

dessIndent
Makes a integer from the starting numbers in a given string in the base specified.
prs

Parameters

sIndenttext ;radix ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
unevalname

uneval(obj)

dessIndent
Returns the string representation behind a given object.
prs

Parameters

sIndentobj ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow