html element text,INPUT TYPE=text HTML Element

ACCESSKEY

0...9, #, *

Gives access or focus to an active HTML element by using a keypad number.

Note   For Pocket PCs, supported only for devices running Windows Mobile 2003 software or later.

CLASS

Associates the element with a CSS style.

Note   Supported only for devices running Windows Mobile 2003 software or later.

DISABLED

Disables the element so that it appears dimmed and does not respond to user input.

Note   Supported only for devices running Windows Mobile 2003 software or later.

EMPTYOK

Boolean that indicates if leaving the contents of this control empty is acceptable.

FORMAT

A, a, N, n, X, x, M, m, *, 0...9

Specifies an input mask for the user input. This conforms to the WML 1.3 specification.

The format mask characters are:

A - Uppercase character

a - Lowercase character

N - Any number character

n - Any numeric, symbol or punctuation character

X - Combination of A and n

x - Combination of a and n

M - Any valid character, default is uppercase

m - Any valid character, default is lowercase

* - Preceeds any of the above formats. Indicates any number of characters of the specified format

0...9 - Proceeds any of the above formats. Indicates a fixed number of the specified format

Example:

ID

Uniquely identifies the element within a document.

Note   Supported only for devices running Windows Mobile 2003 software or later.

MAXLENGTH

0...#

Specifies the text entry control maximum length, in characters.

NAME

String

Specifies the text entry control name.

ONBLUR

Event that occurs when the text entry control loses focus by the pointing device or by tabbing navigation.

NoteSupported only for devices running PocketPC 2002 and Smartphone 2002 software or later.

ONCHANGE

Event that occurs when the text entry control loses the input focus and its value has been modified since gaining focus.

NoteSupported only for devices running PocketPC 2002 and Smartphone 2002 software or later.

ONFOCUS

Event that occurs when the text entry control receives focus by a pointing device or by tabbing navigation.

NoteSupported only for devices running PocketPC 2002 and Smartphone 2002 software or later.

SIZE

0...#

Specifies the text entry control size, in characters.

STYLE

Provides the definition of the CSS styles used for this element.

Note   Supported only for devices running Windows Mobile 2003 software or later.

TABINDEX

Sets the order in which elements are tabbed to.

Note   Supported only for devices running Windows Mobile 2003 software or later.

VALUE

String

Specifies the initial value for the text entry control. If the control has a name and a value (set by attribute, script or user input), on forms submission, the name or value pair is submitted to the server.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值