You can use a regex to achieve the effect like so: function format() { var x = document.getElementById("numbers"); x.value ...
確定! 回上一頁