//特殊字符转义 noteVal = noteVal.replace(/%/g, "%25"); noteVal = noteVal.replace(/\&/g, "%26"); noteVal = noteVal.replace(/\+/g, "%2B"); noteVal = noteVal.replace(/\?/g, "%3f");