what browser are you using? it works fine in IE6 on my machine

解决方案 »

  1.   

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body bgcolor="#FFFFFF" text="#000000">
    <input type="radio" name="p_type" value="1" checked onclick="javascript:pjdesc.style.display='block';">a <input type="radio" name="p_type" value="0" onclick="javascript: pjdesc.style.display='none';">b<div id="pjdesc">
     <tr>.....
    </div></body>
    </html>
    你把这个贴上去看年地,我的也好使
      

  2.   

    <div id="pjdesc">
     <tr>.....</td>
     ^^^^^^^^^^^^^^?
    </div>你用的什么浏览器?
      

  3.   

    <div style="display:'None'">asdfasdfasdfasdf</div>你的错误是由于标记乱标造成的,<tr></td>?
    <div>标记不能直接包含<tr><td>这样的标签(这样做也没有什么意义),但是可以间接的通过<table>包含,也就是说可以这样写<div><table><tr><td></td></tr></table></div>,改成<tr><td><div>asdfasdf</div></td></tr>这样就可以了
      

  4.   

    对啊,我给你的代码就把</td> 去掉了
      

  5.   

    鎴戠敤鐨勬槸IE5涔熷锛?
    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title></head><body>
    <input type="radio" name="p_type" value="1" checked onclick="javascript:pjdesc.style.display='block';">a  <input type="radio" name="p_type" value="0" onclick="javascript: pjdesc.style.display='none';">b<div id="pjdesc">
     <table>
     <tr>.....</body>