http://codepad.org/UPoFB9bL怎樣做到array是直行輸出???(最好沒有",")感謝~

解决方案 »

  1.   

    document.getElementById( "output" ).value =array.join("");
      

  2.   

    不好意思...雖然document.getElementById( "output" ).value =array.join("");可以沒有了","
    但我不是要水平線.......
    感謝回應~!~
      

  3.   

    array.join('\n'); // 這樣?
    array.join('<br />'); // 或是這樣?
      

  4.   

    document.getElementById("output").value = array.join(",");
    document.getElementById("output").value = array.join("\n");