title: Store Date in localStorage
body: <p>Using jquery mobile 1.3 I was able to collect and display values from some input fields using localSotorage with this function:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
      function datosCliente (info) {
          localStorage.setItem(info.name,info.value);
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>And here is a sample of one input field calling the function:</p>
  
  <pre><code>&lt;label for="basic"&gt;Nombre:&lt;/label&gt;
          &lt;input type="text" name="nombre" id="basic" data-mini="true" onkeyup="datosCliente(nombre)"/&gt;
  </code></pre>
  
  <p>I was hoping to do the same on an input type date:</p>
  
  <pre><code>&lt;label for="fecha"&gt;Fecha&lt;/label&gt;
          &lt;input name="fecha" id="fecha" type="date" data-role="datebox" data-options='{"mode":"calbox", "useNewStyle":true}' onkeyup="datosCliente(fecha)" /&gt;
  </code></pre>
  
  <p>And the display the value using:</p>
  
  <pre><code>&lt;p&gt;&lt;span&gt;Fecha: &lt;/span&gt;&lt;script&gt;document.write(localStorage.getItem("fecha"));&lt;/script&gt;&lt;/p&gt;
  </code></pre>
  
  <p>But is it turns out All I get is null when I want to display the value of this field. Is it because I am using the jQueryMobile - DateBox plugin to pick the date ? Or I have to try a different approach to collect the value from this type of input ?</p>