<form name="newsForm" method="post" action="#">
<input type="text" readonly name="text1"><input type = "button" value = "浏览" οnclick="document.newsForm.file1.click();">
<input type="file" οnchange="document.newsForm.text1.value=this.value;" style="display:none" name="file1">
</form>