I'm using html:file and it works just fine . In my previous reply I
made a copy&paste from the generated html.
The most important lines are these 2  
document.forms[0].btnFichier.click();
document.forms[0].nomFichier.value=document.form["frmFichier"].btnFichier.value;





On Tue, 10 Aug 2004 12:21:44 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
> At 10:14 AM 8/10/2004, you wrote:
> >Use something like this
> ><script>
> >function getNomFichier(){
> >document.forms[0].btnFichier.click();
> >document.forms[0].nomFichier.value=document.form["frmFichier"].btnFichier.value;
> >}
> ></script>
> >
> ><input type="text" name="nomFichier" disabled><img
> >src="../images/loupe.gif" onclick="getNomFichier();">
> ><div style="display:none">
> >     <input type="file" name="btnFichier">
> ></div>
> 
> 
> Will this work with <input type='file'>?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to