what are the decodeuri 28 29 and encodeuri 28 29

Solutions on MaxInterview for what are the decodeuri 28 29 and encodeuri 28 29 by the best coders in the world

showing results for - "what are the decodeuri 28 29 and encodeuri 28 29"
Jannik
27 May 2017
1<script>
2	var uri="my test.asp?name=ståle&car=saab";
3
4	document.write(encodeURI(uri)+ "<br>");
5
6	document.write(decodeURI(uri));
7</script>
8
9//output will be
10my%20test.asp?name=st%C3%A5le&car=saab
11my test.asp?name=ståle&car=saab