<script>document.write("<center><b>文本域美化</b>")</script>
<script>document.write("</center><p>")</script>
1。样式一:<br>
<br><input type=file id=file1 style="display:none"
onpropertychange="javascript:t1.value=this.value;">
<input type=text id=t1>
<img src="http://www.v404.cn/skins/vip/Skin/sk0/img/01.gif" width="43" height="11" style="cursor:hand" onClick="javascript:file1.click();"><br>
<br>
代码如下:<br>
<br>
<input type=file id=file1 style="display:none"
onpropertychange="javascript:t1.value=this.value;">
<input type=text id=t1>
<img src="a.gif" style="cursor:hand" onclick="javascript:file1.click();">
<br>
2。样式二:<br>
<br><input type="file" id="file2" style="display:none"
onpropertychange="javascript:t2.value=this.value;">
<input type="text" id="t2" onClick="javascript:file2.click();" value="点击这里"><br><br>
代码如下:<br>
<br>
<input type="file" id="file2" style="display:none" <br>onpropertychange="javascript:t2.value=this.value;"><br><input type="text" id="t2" onclick="javascript:file2.click();" value="点击这里"><br>
<br><br><br><br><br>