Originally posted by Eric Pascarello: You can not change the value of a file for security reasons. Try .reset(); Eric
[My Blog] [JavaRanch Journal]
Originally posted by Jaikiran Pai: How about this: <html> <head> <script type="text/javascript"> function callMe() { document.getElementById("test").innerHTML="<input type=\"file\" id=\"fn\" >" } </script> </head> <body > <span id="test"> <input type="file" id="fn" > </span> <input type="button" value="Click Me To Clear" [I]onClick[/I]="callMe()"> </body> </html> Worked on Firefox and IE, but not sure whether this is a clean approach of doing this.