Javascript Reference
Table Elements > TR
javascript TR Description
The tr object reflects the tr element. Due to incomplete implementation, IE 4 for the Macintosh does not offer complete scripted access to these
javascript TR align
Defines the horizontal alignment of content within all cells of the row.
javascript TR bgColor
Specifies the background color of the table cells in the current row. This color setting is not reflected in the style sheet backgroundColor prope
javascript TR blur( )
Removes focus from the current TR object, at which time the TR object's onblur event fires.
javascript TR borderColor
Specifies the color of the element's border. Internet Explorer applies the color to all four lines that make up the interior border of a cell. There
javascript TR borderColorDark, borderColorLight
document.getElementById("myTR").borderColorDark = "blue"; document.getElementById("myTR").borderColorLight = "cornf
javascript TR cells[ ]
Returns a collection of td or th elements nested inside the table row. Items in the collection are in source code order.
javascript TR ch
Defines the text character used as an alignment point for text cells of the row. This property is normally of value only for the align attribute s
javascript TR chOff
Defines the offset point at which the character specified by the char attribute is to appear within a TR cell. In practice, neither IE nor Navigator r
javascript TR clientHeight, clientWidth
Broadly speaking, these provide the height and width of the TR element's content, but with minor variations with respect to element padding among vari
javascript TR focus( )
Gives focus from the current TR object, at which time the TR object's onfocus event fires.
javascript TR height
Specifies the pixel or percentage height of the row. To change the height of a row dynamically, adjust the element's style.height value rather tha
javascript TR rowIndex
Returns a zero-based integer representing the position of the current row among all other tr elements in the entire table. The count is based on t
javascript TR sectionRowIndex
Returns a zero-based integer representing the position of the current row among all other tr elements in the row grouping. A row grouping can be o
javascript TR vAlign
Indicates the manner of vertical alignment of text within the cells of the current row.
1-15 / 17 >

Powered by Linode.