用javascript语言去掉字符串中的回车和换行符怎么写?
我只知道vbscript是这样写的:
strHtml = Replace(strHtml, Chr(13), "")
 strHtml = Replace(strHtml, Chr(10), "")
请问用javascript怎么写?