Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves the ordinal position of the object , in source order, as the object appears in the document's all collection.
Syntax
N/A |
[ iIndex = ] object.sourceIndex |
Possible Values
iIndex | Integer that receives the ordinal position. |
The property is read-only. The property has no default value.
Example
This example uses the sourceIndex property to identify the previous and next elements in the all collection.
<SCRIPT>
Standards Information
There is no public standard that applies to this property.
Applies To
|
A , ACRONYM , ADDRESS , APPLET , AREA , B , BASE , BASEFONT , BDO , BGSOUND , BIG , BLOCKQUOTE , BODY , BR , BUTTON , CAPTION , CENTER , CITE , CODE , COL , COLGROUP , COMMENT , CUSTOM , DD , DEL , DFN , DIR , DIV , DL , DT , EM , EMBED , FIELDSET , FONT , FORM , FRAME , FRAMESET , HEAD , hn , HR , HTML , I , IFRAME , IMG , INPUT type=button , INPUT type=checkbox , INPUT type=file , INPUT type=hidden , INPUT type=image , INPUT type=password , INPUT type=radio , INPUT type=reset , INPUT type=submit , INPUT type=text , INS , KBD , LABEL , LI , LINK , LISTING , MAP , MARQUEE , MENU , META , nextID , NOBR , OBJECT , OL , P , PLAINTEXT , PRE , Q , S , SAMP , SCRIPT , SELECT , SMALL , SPAN , STRIKE , STRONG , SUB , SUP , TABLE , TBODY , TD , TEXTAREA , TFOOT , TH , THEAD , TITLE , TR , TT , U , UL , VAR , XMP |
Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |