Javascript Reference
Categories: TD

javascript TD Description

@March 15, 2008, 1:22 a.m.
td, thFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

  

The td and th objects reflect the td and th elements. From an HTML structure viewpoint, the two elements have different purposes within a table; but from a scripting perspective, the elements share the same properties and methods. A cell is a cell.

 

While a table cell element may inherit a number of visual properties from containers (e.g., a td element appearing to pick up the bgColor of a tbody or tr element), those inherited property values are not automatically assigned to the td object. Therefore, just because a cell may have a yellow background color doesn't mean its bgColor property is set at all. Due to incomplete implementation, IE 4 for the Macintosh does not offer complete scripted access to these element objects.

 
HTML Equivalent
 
<td>
<th>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
[window.]document.getElementById("tableRowID").cells[i]
 
Object-Specific Properties
 
abbralignaxisbackground
bgColorborderColorborderColorDarkborderColorLight
cellIndexchchOffcolSpan
headersheightnoWraprowSpan
scopevAlignwidth
 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties

None.

order generic lipitor 80mg <a href="https://lipiws.top/">order atorvastatin 40mg for sale</a> buy lipitor 40mg online cheap
Ckfmxn - 10 months
buy atorvastatin no prescription <a href="https://lipiws.top/">buy atorvastatin 80mg generic</a> generic atorvastatin 10mg
Rokjnh - 10 months

Powered by Linode.