javascript - Is it possible to send special character in parameter values in url path? -
I have a URL link "Change", a pop-up window will open when the user clicks the link. During that time, some parameters of values were also sent to the URL. Some parameter values include special characters ('eg: & amp; name = D'LOREY & amp; lname = VALENTINE) if the value is full of characters, then it is working fine, but when throwing a javascript error, Special characters in Please help in solving this problem Thanks in advance.
use encodeurIComponent
for your name and value, your parameter is IE Supported in all mainstream desktop browsers, returning to 5.5. If you need to support IE5, then what you need to do with escape
, as mentioned elsewhere is not correct.
Comments
Post a Comment