open file select dialog with javascript I have hidden input type=file field, and i want to open its select dialog with javascript. I tried to fire click event on this element, but without luck.  Im using mootools.  $('input_id').fireEvent('click');   This is possible at all?
In JavaScript can I make a "click" event fire programmatically for a file input element? I'd like to make a click event fire on an &lt;input type="file"&gt; tag programmatically.  Just calling click() doesn't seem to do anything or at least it doesn't pop up a file selection dialog.  I've been experimenting with capturing events using listeners and redirecting the event, but I haven't been able to get that to actually perform the event like someone clicked on it.
Could a website force the browser to go into fullscreen mode? I want to run a psychological study for which participants have to look at large images.  The experiment is done on the web and therefore in a browser window. Is it possible to tell the browser to go into fullscreen, for example on button press?  I know there is the possibility to open a fixed-size popup window. Do you think this would be a feasable alternative? And if, what would be the best way to do it? Are there elegant ways of detecting a popup-blocker, to fallback and run the study in the original browser window.  The main concern is that the participants of this study are not familiar with technical details and should not be bothered by them.