<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>使用sessionStorage保存与读取临时数据</title>
</head>
<body>
<fieldset>
<input type="text" name="txt" id="txt" onChange="txt_Change(this)" size="30px">
<input type="button" name="btn" onClick="btn_Click()" value="读取">
<p id="pid"></p>
</fieldset>
</body>
<script type="text/javascript">
function $(id){
return document.getElementById(id);
}
f