JavaScript手册 
目录
此参考中包含
的内容
轻松上手
简介
操作符
语句
核心
文档
窗口
表单
浏览器
事件和
事件句柄
LiveWire
数据库服务
进程管理服务
实用工具
全局函数
LiveConnect
的Java包
索引
 
 
【目录】 【上一章】 【下一页】 【索引】

第十三章
全局函数

本章包含了 JavaScript 所有不与任何对象关联的函数。

表 13.1 总览了这些函数。

表 13.1 全局函数
函数 描述
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 添加了 to a URL.
untaint Removes tainting from a data element or script.
write Adds statements to the client-side HTML page being generated.


【目录】 【上一章】 【下一页】 【索引】

回页面顶部