[Contents] [Previous] [Next] [Index]

Chapter 13
Global Functions

This chapter contains all JavaScript functions not associated with any object.

Table 13.1 summarizes these functions.

Table 13.1 Global functions
Function Description
addClient 
Appends client information to URLs.

addResponseHeader 
Adds new information to the response header sent to the client.

blob
Assigns BLOb data to a column in a cursor.

callC 
Calls a native function.

debug 
Displays values of expressions in the trace window or frame.

deleteResponseHeader
Removes information from the header of the response sent to the client.

escape
Returns the hexadecimal encoding of an argument in the ISO Latin-1 character set; used to create strings to add to a URL.

eval
Evaluates a string of JavaScript code without reference to a particular object.

flush 
Flushes the output buffer.

getOptionValue 
Gets values of individual options in an HTML SELECT form element.

getOptionValueCount 
Gets the number of options in an HTML SELECT form element.

isNaN
Evaluates an argument to determine if it is not a number.

Number
Converts an object to a number.

parseFloat
Parses a string argument and returns a floating-point number.

parseInt
Parses a string argument and returns an integer.

redirect 
Redirects the client to the specified URL.

registerCFunction 
Registers a native function for use in server-side JavaScript.

ssjs_generateClientID
Returns an identifier you can use to uniquely specify the client object.

ssjs_getCGIVariable
Returns the value of the specified environment variable set in the server process, including some CGI variables.

ssjs_getClientID
Returns the identifier for the client object used by some of JavaScript's client-maintenance techniques.

String
Converts an object to a string.

taint
Adds tainting to a data element or script.

unescape
Returns the ASCII string for the specified value; used in parsing a string added to a URL.

untaint
Removes tainting from a data element or script.

write 
Adds statements to the client-side HTML page being generated.


[Contents] [Previous] [Next] [Index]

Last Updated: 10/31/97 16:38:00


Copyright ?1997 Netscape Communications Corporation