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

ShareCode

1 <div id="container">2 3 4 </div>5 6 7 8 9 <script>10 11 var mc = new MongoCollection();12 document.getElementById("container").appendChild(mc.dom);13 14 var data = [15  {16  _id: '23434',17  undefined: undefined,18  null: null,19  bool: true,20  string: 'hello',21  number: 123.4,22  object: {23  one: "the first",24  two: "the seconde",25  three: "the third",26  four: "the fourth",27  enabled: false,28  },29  array: [1,2,3],30  marked: true,31  unmarked: false,32  },33 ];34 35 //data = JSON.parse('[{"lista":[1,2,3], "id": "Object(334)"}]');36 37 mc.SetData(data);38 39 </script>


Este ShareCode tiene versiones:
  1. var mc = new MongoCollection(); ... (17/07/2014)
  2. var mc = new MongoCollection()... (13/11/2017)
Enlace
El enlace para compartir es: