I created a form that displays the results in another html page but the @
sign is displayed as %40
in the new page. This is my code below. Can someone help out?
<script type="text/javascript">
window.onload = function () {
var url = document.location.href,
params = url.split('?')[1].split('&'),
data = {}, tmp;
for (var i = 0, l = params.length; i < l; i++) {
tmp = params[i].split('=');
data[tmp[0]] = tmp[1];
}
document.getElementById('email-display').innerHTML = data.Email;
}
</script>