function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yaswanth KothapalliYaswanth Kothapalli 

File Upload Button differs in IE and Other Browsers

HI All,

Using CSS, " Choose Button " for File Upload differs in Chrome and IE.  
As file upload is rendered by client machine's operating system. 
I went through many online links regarding the same and no workarounds. 
Any help here?

Some of the Links I have checked: 
>> http://stackoverflow.com/questions/9437009/css-file-upload-select-button-different-in-ie-firefox-opera
>> http://swatelier.info/at/forms/file.htm

Any workarounds/Sample Code to make the Choose Button similar would be highly helpful.
Thanks!!
 
Yaswanth KothapalliYaswanth Kothapalli
Following this link: 
>> https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_inputFile.htm

If we copy paste the sample Code in our dev Org (as per above link) and preview the page in IE browser and Chrome, we will see a different behaviour and not the same.