1 <h1>Web Storage (v0.1)</h1>2 This version is using WebDatabase, w3c says:3 4 <p style="background: black; color: white; font: 900 2em serif; padding: 0.5em 1em; border: dotted yellow 0.5em; text-align: center">Beware. This specification is no longer in active maintenance and the Web5 Applications Working Group does not intend to maintain it further.</p>6 7 8 9 <!-- Including DOM Inspector -->10 <script type="text/javascript" src ="http://www.treeweb.es/ShareCode/preview/c3703a1e7704e8bb5611481ab4b8d00d/js"></script>11 <link rel="stylesheet" href="http://www.treeweb.es/ShareCode/preview/c3703a1e7704e8bb5611481ab4b8d00d/css" />12 13 <button onclick="14 staticMap.set('key', 'mi puto valor :)', function() {15 alert('exito');16 });17 ">grabar</buton>18 19 <button onclick="20 staticMap.get('key', function(v) {21 alert(v);22 });23 ">leer</buton>24 25 <button onclick="26 staticMap.unset('key', function() {});27 ">borrar</buton>28 29 30 <button onclick="31 staticMap.open(function(){32 alert('DB OPENED');33 });34 ">abrir</buton>35 36
Este ShareCode tiene versiones:
- Web Storage (v0.1) This version is using... (24/04/2013)
- Web Storage (v0.1) This version is using... (24/04/2013)
- Web Storage (v0.1) This version is using... (24/04/2013)
- Web Storage (v0.1) This version is using... (24/04/2013)
Enlace
El enlace para compartir es: