Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the number of columns in the table.
Syntax
<TABLE COLS = iCount ... > |
TABLE . cols [ = iCount ] |
Possible Values
iCount | Integer that specifies or receives the number of columns. |
The property is read/write. The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .
Remarks
Specifying this number can speed up the processing of the table.
Example
This example uses the COLS attribute and the cols property to set the number of columns in HTML and retrieve the number of columns in script.
<SCRIPT>Standards Information
This property is a Microsoft extension to HTML and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
TABLE |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |