本帖最后由 u013123593 于 2013-12-12 03:41:56 编辑

解决方案 »

  1.   

    将radio的name设成同一个值就可以了。
    比如有两组radio,每组有5个radio
    第一组name:radio1
    第二组name:radio2那么点击时就是个管个的
      

  2.   

    a.js
    document.write('a');页面
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body>
    <div id="banner">
    <script type="text/javascript" src="a.js"></script>
    </div>
    </body>
    </html>
    可以啊
      

  3.   

    把所有的radio的name设成一样的不行?
      

  4.   


    我這的RADIO NAME 是系統產生改為ID..總共有10組RADIO,目前毎一組都不會重覆,但10組都各點擊一次會變成10組都有加入購物車,目的是要10組都不能重覆...所以沒辦法各管各的..<a class="block-image-option" id="block-image-option-26" option-value="26" option-text-id="option-text-227" title="Noir ">
    <img src="http://www.noreve.com.tw/image/cache/data/perpetuelle/T1-Noir-30x30.jpg" alt="Noir ">
    </a>