Maybe, but in this case he wants to add a function in ONLOAD condition to automatictly open the dialog file upload box. I think that it not run in firefox, just in bugged and errored ie. =D Bill Richards wrote: > > > > > i am trying to open choose file dialog box > > when page upload.below is my code which works > > fine in internet explorer but it did not > > work in firefox. > > certainly does work in Firefox. > I think Its because you have no <form> element and you also need the > ENCTYPE > set as 'multipart/form-data' > Whilst IE may be showing the browse button, I'll bet it wont upload. > > <HTML><Head></Head><Body> > > <form name='name_your_form' action='upload_processing_script.php' > method='POST' ENCTYPE='multipart/form-data'> > > Select File : <input type='file' size='60' name='FILEUPLOAD'> > <input type='submit' value='Click Here to Upload File'> > > </form> > > </Body></HTML> > > Cheers, Bill. >