numArr = numArr.replace("\"","").replace("\"","")
如果不确定有多少个 双引号 :
numArr = numArr.replace(/\"/g, "")
去掉字符串中的双引号,参数中的字符串请用单引号
<script type="text/javascript">function dropComma(str) {
result = str.replace('"','')
alert(result)
}
dropComma('fjdklfjs"d')
</script>