不知道 zhangguagua(瓜瓜) 在不在,这个还是他以前教我的

解决方案 »

  1.   

    主要是把<input type=file>放到了外面
    其他只是随便改一改,不用<div>比较简便<html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head>
    <body bgcolor="#FFFFFF" text="#000000"><input type="file" id="aaa" style="display: none" onpropertychange="document.form1.bb.value=this.value;gua.style.display='none'" name="image" size="20"><form name="form1" method="post" action="bbb.htm">
    <table width="4" border="0" cellspacing="0" cellpadding="0">
    <tr> 
    <td width="146">&nbsp;</td>
    <td width="146"> 
    <input type="text" name="bb" onFocus="gua.style.display = gua.style.display=='' ? 'none':'' " size="20" readonly>
    <input type="button" id="gua" value=".." style="position:absolute; width:25px; height:20px; display:none; left: 180px" onClick="aaa.click()">
    </td>
    </tr>
    </table>
    <br>
    <input type="submit">
    </form>
    </body>
    </html>