/ Published in: JavaScript
I found some cases where JavaScript won't properly handle the Plus symbol (+)
Expand |
Embed | Plain Text
function urldecode(str) { return decodeURIComponent((str+'').replace(/\+/g, '%20')); }
You need to login to post a comment.
