实现属性表格JavaScript库:prid.js

jopen 10年前

一个实现属性表格JavaScript库prid.js。可爱的属性表格JavaScript库:prid.js

var target = document.getElementById("target").prid({      width : "100%",      data : {          id : 1,          nickname : "guguluk",          isAdmin : true,          sayHello : function() {              alert("hi guguluk");          },          keywords : ["gugu", "eray", "arslan"],          smiley : ":D"      }  });    JSON.stringify(target.getData()); // "{"id":1,"nickname":"guguluk","isAdmin":true,"keywords":"gugu","smiley":":D"}"

项目主页:http://www.open-open.com/lib/view/home/1415792321555