<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Untitled Page</title> <script type="text/javascript"><!-- function showFileName(x) { document.FormName.textfieldName.value = x; } window.onload = function() { document.FormName.fileGetterName.onchange = function() { showFileName(this.value); } } //--> </script> </head> <body bgcolor="#ffffff"> <form id="FormName" action="" method="get" name="FormName"> <input type="file" name="fileGetterName" size="16"> <input type="text" name="textfieldName" size="35"> </form> </body> </html>