Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie-edge">
	<title>Results</title>
</head>
<body>
	<div id="results"></div>
	<a href="/">Back to Form</a>
	<script>
		const resultsList = document.getElementById('results')
		new URLSearchParams(window.location.search).forEach((value, name) => {
			resultsList.append(`${name}: ${value}`)
			resultsList.append(document.createElement('tr, td'))
		} )
	</script>
</body>
</html>>


What I have tried:

HTML
<pre lang="Javascript">
Posted
Updated 28-Dec-22 23:44pm
v2
Comments
OriginalGriff 29-Dec-22 6:25am    
And?
What have you tried?
Where are you stuck?
What help do you need?

Use the "Improve question" widget to edit your question and provide better information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900