Javascript Reference
Categories: InputTypeFile

javascript InputTypeFile type

@June 30, 2008, 7:08 p.m.
type Firefox/Netscape/NN 3 IE 4 Chrome/Safari/DOM 1  

 

Read-only  

Returns the type of form File control element. The value is returned in all lowercase letters. It may be necessary to cycle through all form elements in search of specific types to do some processing on (e.g., emptying all form controls of type "text" while leaving other controls untouched).

 
Example
 
if (document.forms[0].elements[3].type == "file") {
  // process file input type here
}
 
Value

Any of the following constants (as a string): button | checkbox | file | hidden | image | password | radio | reset | select-multiple | select-one | submit | text | textarea.

 
Default

file

order atorvastatin 10mg generic <a href="https://lipiws.top/">atorvastatin 20mg tablet</a> buy lipitor 80mg without prescription
Uifzcq - 10 months

Powered by Linode.