I have the following HTML:
<input id="outer" type="file" onchange="console.log('No.');">
<input id="inner" type="file" onchange="console.log('Yes!');" />
</input>
Styled like such:
#inner { cursor: pointer; position:absolute; opacity: 0; }
#outer { position: relative; overflow: hidden; direction: ltr; }
It looks like just a standard file input element, as the #inner
input element is hidden and wrapped by the #outer
one. My desired behavior is to see "Yes!" when I select a file, which I get with Webkit browsers (both inputs activate) but not Firefox. Do you have any ideas about how I can get this in Firefox as well?