<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="common.js"></script> | |
<script> | |
function readData() { | |
return sessionStorage.getItem('key'); | |
} | |
function writeData() { | |
sessionStorage.setItem('key', 'foo'); | |
return true; | |
} | |
</script> | |
</head> | |
<body onload="setTimeout(onLoad, 0);"> | |
</body> | |
</html> |