怎么用js判断文本框中只能出现 逗号符号<html><head><script>function isEng(obj){ var str=obj.value.toString()var a=^[,]+$2023-02-20JavaScript250