Files
pathduck.github.io/test/session-storage/show_storage.html
T
2023-12-13 13:25:42 +01:00

34 lines
727 B
HTML
Executable File

<html>
<head>
<title>VB-99904 test result</title>
<script>
const sessiondata = "session-data-for-VB-99904";
const start = () => {
const result = JSON.stringify(sessionStorage);
document.getElementById("results").innerHTML =
"sessionStorage : " + result;
};
</script>
<style>
body {
background-color: teal;
}
.storage-results {
background-color: black;
color: green;
}
</style>
</head>
<body onload="start()">
<h2>sessionstorage results:</h2>
<div class="storage-results" id="results"></div>
<div>Should be 'session-data-for-VB-99904'</div>
</body>
</html>