spanObj.innerHTML = "<img border=0 src='../abc.gif'>";

解决方案 »

  1.   

    <html><head>
    </head><body><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="59%" id="AutoNumber1" height="276">
      <tr>
        <td width="50%" height="81"> </td>
        <td width="50%" height="81"> </td>
      </tr>
      <tr>
        <td width="50%" height="194"><span id="uu">111111111<span></td>
        <td width="50%" height="194"> </td>
      </tr>
    </table><form method="POST" action="--WEBBOT-SELF--">
     <p>
      <input type="button" value="按钮" name="B3" onclick="uu.innerHTML='<img src=1.jpg name=aaa>'"></p>
    </form></body></html>