<script src="https://code.jquery.com/jquery-1.10.2.js"></script> <div id="data"></div> <script> $("#data").html(sessionStorage.getItem('sessiontest')); sessionStorage.setItem('sessiontest', '1'); </script>
download render html show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013944 |
Snippet name: | Test sessionStorage (data is kept only per tab) |
Eternal ID of this version: | #1013944/2 |
Text MD5: | e6e61faa9fa05ee01fb497dcc5c47957 |
Author: | stefan |
Category: | javax / web |
Type: | HTML |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-16 21:13:26 |
Source code size: | 214 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 418 / 234 |
Version history: | 1 change(s) |
Referenced in: | [show references] |