Question: > 
> **Possible Duplicate:**  
> 
> [What's the difference between passing by reference vs. passing by value?](https://stackoverflow.com/questions/373419/whats-the-difference-between-passing-by-reference-vs-passing-by-value)  
> 
> [Is Java pass by reference?](https://stackoverflow.com/questions/40480/is-java-pass-by-reference) 
> 
> 
> 

I don't understand this pass by value and pass by reference concept in java. Can anyone explain me in lame words... after reading many articles, i am still not understanding it.

Answer: 
Tested today the simple code given in the question and the situation has changed:

* IE9: works
* Chrome23: works
* Firefox15: works

There is just one catch - on IE the .click() is a blocking operation while on other browsers it is not.
You should position input[file] just above your custom control. And then bind to it`s onclick.

Also make in it bigger font-size, as only this way you can increase it's height.