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>

Ovidiu









On Tue, 10 Aug 2004 08:27:49 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
> At 07:41 AM 8/10/2004, you wrote:
> >Michael McGrady wrote:
> >
> >>Is there a way to hide the standard browse button and use an image for
> >>the button instead?
> >
> >Michael,
> >
> >I don't believe this is part of the HTML spec, so in short, no. Every
> >browser uses a different button for browsing. I don't believe that even
> >CSS can control this.
> 
> There is a way, Brice.  There are many, actually, as it turns out.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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