Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HTMLObjectElement object

Implements the document object model (DOM) representation of the object element.

Internet Explorer 8

DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     HTMLObjectElement

Members

The HTMLObjectElement object has these types of members:

Methods

The HTMLObjectElement object has these methods.

MethodDescription
checkValidity

Returns whether a form will validate when it is submitted, without having to submit it.

setCustomValidity

Sets a custom error message that is displayed when a form is submitted.

 

Properties

The HTMLObjectElement object has these properties.

PropertyAccess typeDescription

msPlayToPreferredSourceUri

Read/write

Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.

validationMessage

Read-only

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message.

validity

Read-only

Returns a ValidityState object that represents the validity states of an element.

willValidate

Read-only

Returns whether an element will successfully validate based on forms validation rules and constraints.

 

 

 

Show:
© 2014 Microsoft