<table id=t>
<tr><td>aaa</td></tr><tr><td>aaa</td></tr>
</table>
<input type=button onclick="document.all.t.rows[0].cells[0].innerHTML='<a href=\'http://lucky_elove.www1.dotnetplayground.com/\'>'+document.all.t.rows[0].cells[0].innerText+'</a>'">

解决方案 »

  1.   

    我也遇到了这个问题
    echo "<td><a href=\"pubisher.php?pub=$publisher\">$publisher</a></td>";
    出错误:CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:不知如何解决?还请大家指点迷津!
      

  2.   

    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
    好象是说没有这个页面还是怎么回事?
    echo "<td><a href=pubisher.php?";
    echo "pub=";
    echo $publisher;
    echo ">";
    echo $publisher;
    echo "</a></td>";
    你试试这样?
      

  3.   

    还是老样子不明白啊地址栏里,到是可以显示..publisher.php?pub=pubname
      

  4.   

    这样呢?echo "<td><a href=\"pubisher.php?pub=".$publisher."\">$publisher</a></td>";