Hi Dietrich, I only know the half, in IE it works with "document.forms[nn].nameofintput.click()" but this won't work in mozilla!
here is how it works with IE: --- snip --- snap --- snip --- !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <script type=text/javascript> function dofileselect() { document.forms[0].dateiname.click(); } </script> <form action="post"> <input name="dateiname" type="file" style="display: none;"/> </form> <button onClick="dofileselect();">ClickMe</button> </body> </html> --- snip --- snap --- snip --- Dietrich Streifert schrieb: > Does anybody know how the button of a input tag of type file can be > triggered through javascipt? > > Any help would be great. > > Thank you. > > > > Dietrich Streifert schrieb: > >> Hello List, >> >> has anybody written code which does a file upload from within a qooxdoo >> application and is willing to share it with the list? >> >> I'd like to get an idea on how file uploading could be done. >> >> Opening a native window which has a form which includes an input tag of >> type file is the obvious method but that is not what the user wants. >> >> Any help would be great. >> >> Best regards... >> >> >> > > -- Viele Gruesse Dirk Wellmann - - - - - - - - - - - - - - - - - - - PIP Professional Internet Programming Dirk Wellmann Hersteller Str. 9 37688 Beverungen fon. : +4932229174242 mobil: +491725267208 skype: dirk.wellmann mail : [EMAIL PROTECTED] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
