JavaScript Reference/Javascript Properties/axis

Материал из Web эксперт
Перейти к: навигация, поиск

"axis" Example

   <source lang="javascript">
       

<html> <body>

   </tr>
   </tr>
table caption
  cell 1 cell 2
name      
2004 7 2  
2004 9 1   2004 7 1  

<button onclick="alert(head1.axis);">Get the axis for heading 1</button> </body> </html>


     </source>
   
  


"axis" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<td> <th> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"axis" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Categorize <td> and <th> elements.

Value: Any string.

Syntax:

document.getElementById("elementID").axis = value document.all.elementID.axis = value // IE only


     </source>