try to write it as function as the bellow code: if (document.getElementById) { // DOM3 = IE5, NS6 document.getElementById(''inputfile'') ................ } else { if (document.layers) { // Netscape 4 document.inputfile ................... } else { // IE 4 document.all.inputfile ...................... } } On Wed, Jan 28, 2009 at 2:50 PM, LuCiaNo - CeTre <web@xxxxxxxxxxxx> wrote: > I tried to make this in two forms here, but nothing runs. > > I made a test in jquery too and nothing. > > Reading about it on google, they said that firefox dont support it. > > []s > > reddy swand wrote: > > > > you should put the form name also: document.formname.getElement... > > > > > -- Kind Regards, Mohammad Al-Naji [Non-text portions of this message have been removed]