If your button is an qx button, use .fireEvent("execute").
If you try to trigger a native browse input element, this could be tricky. Sure you can dispatch an user click event by code, but on such sensitive interfaces to the file system, most browser will restrict that. So for browser they don't permit to open browse
dialog by code, you can trick the system by overleying your text field with an native input field and just make it transparent. But the user has to click any way.
Vorstand: Frank Einhellinger, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Uwe Lamnek
Aufsichtsratsvorsitzender: Michael Scheeren
Member of United Internet
-------- Ursprüngliche Nachricht --------
Von: paragasu <[hidden email]>
Gesendet: Sunday, August 2, 2015 02:31 PM
An: qooxdoo Development <[hidden email]>
Betreff: [qooxdoo-devel] make focus event to make the button clicked
I have a textfield and a button next to it.
clicking on the button will popup file chooser (to upload file).
is it possible to trigger the user click event of the button when the user