Use JSON When appending json in your url as parameters, use encodeURIComponent() to escapse some specical characters, like #, & // ex: json_data = {"name": "H&M Store", "address": "#10 ABC road"} url += '¶m1=' + encodeURIComponent(JSON.stringify(json_data)); refs SO MDN Please enable JavaScript to view the comments powered by Disqus.