当前位置: 首页 > 图文教程 > 网络编程 > Javascript > JavaScript[对象.属性]集锦之七

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 JavaScript[对象.属性]集锦之七


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 458 ::
收藏到网摘: n/a

submit和reset对象


属性

value VALUE=属性的内容.

name NAME=属性的内容.


方法

click() 选定按钮


事件处理器

onClick 当按钮被单击时执行.


password对象


属性

defaultValue VALUE=属性的内容.

name NAME=属性的内容.

value 目前输入password域的数据.


方法

focus() 将焦点带入password域.

blur 将焦点从password域移出.

select() 选定password域中的当前数据,以备修改.


navigator对象


该对象用于确定用户访问时使用的Navigator版本.

属性

appCodeName 相对于用户浏览器的"codename"

appName 相对于用户浏览器的实际名字.

appVersion 相对于用户浏览器的版本号.

userAgent 该属性反映用户浏览器的全部信息.