How can I decode a URL using jQuery? My url is
http%3A%2F%2Fdtzhqpwfdzscm.cloudfront.net%2F4ca06373624db.jpg
If you URL should also contain blanks encoded as '+', the following call will help (taken from https://stackoverflow.com/a/4458580/430742):
decodeURIComponent((str+'').replace(/\+/g, '%20'))