首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 在浏览器中创建数据库

在浏览器中创建数据库

  • 资源大小:67.38 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 浏览器 数据库 中创

资 源 简 介

This framework use to manage (insert, delete, update, select) json data in browser, it has syntax look like sql. Support ajax, dom assistant, drag drop and virtual effect. some example code: ``` //create new database K.create.database({ fieldName : ["compare", "responseText", "responseXML"], primaryKey: "compare", ignoreError: true }); ``` ``` //update data oldRequest.Update({ responseText: xhr.responseText, responseXML: xhr.responseXML, where: "compare == "" + code + """ }); ``` ``` //select element in DOM var aImg = K.select({ from: document.getElementById("kombai"), where: "tagName =="IMG" && title == "copyright uoon"" }); ``` ``` //setup drag drop K(newRow).initDragDrop({ onDrag: function() { var self = this.self; var event = this.event; document.body.appendChild(self); self.id = "m.o.b.i.l.e"; self.style.position = "absolute"; self.style.top = event.clientY - 5 + "px"; self.style.left = event.clientX + 5 + "px"; }, onDrop: function() { var self = this.self; self.removeAttri

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.289525s