title: Split cache data without commas
body: <p>I need to build a table with the data I have saved in cache, I've split it into: "name=value" and I want a cell with name and a name with value. I've tried to split it again but it does this: "name1" "value1, name2" "value2, name3" etc...</p>
  
  <p>Here is my fiddle: <a href="http://jsfiddle.net/roucher/d9h6onvr/64/" rel="nofollow">http://jsfiddle.net/roucher/d9h6onvr/64/</a></p>
  
  <p>And the code:</p>
  
  <pre><code>$(document).ready(function(){
  alert(document.cookie);
  var ca = document.cookie.split(';');
  var tabla = document.getElementById("tablaPaseadores");
  alert (ca);
      for (var i = 0; i &lt; ca.length; i=i+2) {         /* &lt; */
          alert(ca[i]);
          var cas = String(ca).split("=");
          alert("cas "+ cas[i]+ "cas+1 "+ cas[i+1]);
          //alert("i"+cas[i]+"i+1"+cas[i+1]);
          var fila = tabla.insertRow(0);
          fila.id = "fila" + contador;
          var celda1 = fila.insertCell(0);
          celda1.id = "celda" + contador + "1";
          var celda2 = fila.insertCell(1);
          celda2.id = "celda" + contador + "2";
          var celda3 = fila.insertCell(2);
          celda3.id = "celda" + contador + "3";
          celda1.innerHTML = cas[i];
          celda2.innerHTML = cas[i+1];
          celda3.innerHTML = "&lt;button onclick='paseo(" + contador + ")'&gt;'Paseíto'&lt;/button&gt;";
      }
  });
  </code></pre>