我的字符串是 <br/>
var lookfor = "\(Dos LIKE ''" + Dos + "'' OR Practice LIKE ''" + PracticeName + "'' OR Patient LIKE ''" + PatientName + "'' OR ClaimId LIKE ''" + ClaimId + "'' OR Charges LIKE ''" + Charges + "'' OR Payment LIKE ''" + Payment + "'' OR InsuranceStatus LIKE ''" + Status + "'')";
但我需要一个字符串 <br/>
var lookfor = '\(Dos LIKE ''" + Dos + "'' OR Practice LIKE ''" + PracticeName + "'' OR Patient LIKE ''" + PatientName + "'' OR ClaimId LIKE ''" + ClaimId + "'' OR Charges LIKE ''" + Charges + "'' OR Payment LIKE ''" + Payment + "'' OR InsuranceStatus LIKE ''" + Status + "'')';
我正在尝试此代码但无法解决它
var jsonStr = lookfor.replace(/"/g, "'");
var jsonStr1= lookfor.replace(/"/g, '\'');
请帮忙....
叮当猫咪
蛊毒传说
相关分类