Share via


INPUT TYPE=hidden XHTML Element

Send Feedback

The INPUT TYPE=hidden element transmits information about the client/server interaction. This element does not require a closing tag; it is not rendered but sends the name or value pair as defined by the following attributes.

Using this Element

There are some common properties and collections that apply to all the elements of the document object model, see Common Properties for All DOM Elements in Internet Explorer Mobile.

This element can be used within a web page with attributes.

This element can be used within scripts where it will have properties, events and methods.

Attributes

Attribute Value PPC SP Description
CLASS   Yes Yes Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ID   Yes Yes Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
NAME String Yes Yes Specifies the hidden control name, which is submitted along with the hidden control value during forms submission.
STYLE   Yes Yes Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running PocketPC 2002 and Smartphone 2003 software or later.
VALUE String Yes Yes Specifies the hidden control value, which is submitted along with the hidden control name during forms submission.

Scripting Properties

Property Type Access Comments
defaultValue string Read/Write The initial contents of the input type=hidden control
disabled boolean Read/Write  
form object Read only  
name string Read only  
type string Read only Always returns: hidden
value string Read/Write Sets or retrieves the value of the input type=hidden control.

Scripting Events

This element has no associated events.

Scripting Methods

This property has no associated methods.

Requirements

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 5.01 and later

See Also

XHTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.