var a = “双引号字符串”; a= a.replace(“\””,””).replace(“\””,””); 如果想一次性去掉所有的双引号, 还可以这样: var b = “双引号字符串”; b= b.replace(/\”/g, “”);