'cols' Syntax and Note : cols 3 « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- cols 3
'cols' Syntax and Note
Note:
Read and write property.
Sets the character width for <textarea>.
Syntax:
document.getElementById("textareaID").cols = value
document.all.textareaID.cols = value // IE only
Related examples in the same category