Wikipedia para siempre
ShareCode
Permalink: http://www.treeweb.es/u/974/ 01/02/2011

ShareCode

1 <h1>Web Storage (v0.0)</h1>2 This version starts from a IndexedDB implementation.3 <script type="text/javascript">4 5 staticMap.open(function(){});6 7 </script>8 9 <button onclick="10 staticMap.set('key', 'mi puto valor :)', function() {11  alert('exito');12 });13 ">grabar</buton>14 15 <button onclick="16 staticMap.get('key', function(v) {17  alert(v);18 });19 ">leer</buton>20 21 <button onclick="22 staticMap.unset('key', function() {});23 ">borrar</buton>24 
Enlace
El enlace para compartir es: