javascript InputTypeFile size
@Aug. 17, 2009, 9:46 a.m.
size | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
|
Read/Write |
Roughly speaking, indicates the width in characters that the input text box portion of the file input element should be sized to accommodate. In practice, the browser does not always accurately predict the proper width when the font used is a proportional one. See details in the size attribute discussion for the input element. This property is not available for IE 4 on the Macintosh. |
|
Example | |
document.forms[0].myFileUpload.size = 60; |
|
Value | |
Integer. |
|
Default | |
20 |
Permanent URL:
http://javascript.gakaa.com/inputtypefile-size.aspx
Powered by Linode.