1.html
<input id=t1 ><input type=button onclick="document.cookie= t1.value;window.open('2.html')" value="save">
2.html
<input id=t1><input type=button onclick="t1.value = document.cookie" value="get value">
<input id=t1 ><input type=button onclick="document.cookie= t1.value;window.open('2.html')" value="save">
2.html
<input id=t1><input type=button onclick="t1.value = document.cookie" value="get value">
没有,能粘出来吗?谢谢