INS object (Object/HTML)

An object representing an <INS> tag in the document.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Inherits from:Element object
JavaScript syntax:IEmyINS = myDocument.all.anElementID
IEmyINS = myDocument.all.tags("INS")[anIndex]
IEmyINS = myDocument.all[aName]
-myINS = myDocument.getElementById(anElementID)
-myINS = myDocument.getElementsByName(aName)[anIndex]
-myINS = myDocument.getElementsByTagName("INS")[anIndex]
HTML syntax:<INS> ... </INS>
Argument list:anIndexA reference to an element in a collection
aNameAn associative array reference
anElementIDThe ID value of an Element object
Object properties:cite, dateTime
Event handlers:onClick, onDblClick, onDragStart, onFilterChange, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart

This is a means of marking a section of the page that has been inserted since the previous version of the page. The appearance is styled to indicate the inserted text as distinct from the surrounding text. The cite property refers to a document that describes the reason for the insertion.

The DOM level 1 specification includes this in the ModElement object functionality.

See also:DEL object, Element object, ModElement object

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
cite n/a5.0 5.0 n/a5.0 5.0 n/a n/a n/a n/a n/a n/a-
dateTime n/a5.0 5.0 n/a5.0 5.0 n/a n/a n/a n/a n/a n/a-

Event nameJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
onClick1.0 1.01.0 1.02.0 2.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onDblClick1.2 1.23.0 3.04.0 4.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onDragStart n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
onFilterChange n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-
onHelp n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/aWarning
onKeyDown1.2 1.23.0 3.04.0 4.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onKeyPress1.2 1.23.0 3.04.0 4.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onKeyUp1.2 1.23.0 3.04.0 4.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseDown1.2 1.23.0 3.04.0 4.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseMove1.2 1.23.0 3.04.0 4.04.0 4.0 n/a n/a n/a n/a n/a4.0 4.0Warning
onMouseOut1.1 1.13.0 3.03.0 3.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseOver1.0 1.01.0 1.02.0 2.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onMouseUp1.2 1.23.0 3.04.0 4.04.0 4.03.0 3.0 n/a n/a n/a n/a4.0 4.0Warning
onSelectStart n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-

Inheritance chain:

Element object, Node object