$('#txYWLX').val($('#txYWLX').val().replace(/,/ig,',')); 转载于:https://www.cnblogs.com/XiaoMing999/p/5446447.html