只好來研究一下正則表達式 經過古歌大神爬文. 得到答案 onkeyup="value = this.value.replace(/[^0-9\-]/g, '')". onkeyup 是javascript的event 做法 ...
確定! 回上一頁