Javascript Reference
Categories: TBODY

javascript TBODY Description

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

  

The tbody, tfoot, and thead objects reflect the tbody, tfoot, and thead elements, respectively. For scripting purposes, you can treat each of these as a container of row groups inside a table. They all share the same properties and methods, so you need to keep their HTML functionality straight as you script these elements. A table can have only one tfoot and one thead element, but multiple tbody elements. Also, by default, Internet Explorer 4 or later and Netscape 6 create a tbody object for every table even if you don't include one in your table's source code. This default tbody element encompasses all rows of the table (except those you have wrapped inside thead or tfoot elements, if any). Although these objects are implemented in IE 4 for the Macintosh, they are incomplete. Moreover, the row insertion operations noted in the table element are just as strange for these objects under IE 4 for the Mac.

 
HTML Equivalent
 
<tbody>
<tfoot>
<thead>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
[window.]document.getElementById("tableID").tBodies[i]
[window.]document.getElementById("tableID").tfoot
[window.]document.getElementById("tableID").thead
 
Object-Specific Properties
 
alignbgColorchchOffrowsvAlign
 
Object-Specific Methods
 
deleteRow( )insertRow( )moveRow( )
 
Object-Specific Event Handler Properties

None.

order atorvastatin 20mg pill <a href="https://lipiws.top/">order lipitor generic</a> cost lipitor 10mg
Ohqvpv - 10 months

Powered by Linode.