Update page using JSON data

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 20:57:01

软件介绍

updateWithJSON is a jQuery plugin that updates elements on your page based on key/value pairs in a JSON object. Here's how it works:

* iterate over each property/value combination in the JSON object
* look for an element in the DOM that matches the property name
o first, look for an element with a matching id attribute
o if no element with a matching ID is found, look for input, select or textarea elements with a matching name attribute
* update the value, contents or selection of the matched element(s) based on the value in the JSON object

Usage: $.updateWithJSON(data)

本文地址:https://codercto.com/soft/d/23176.html

Node即学即用

Node即学即用

[英] Tom Hughes-Croucher、[英] Mike Wilson / 郑达韡 / 人民邮电出版社 / 2013-2 / 39.00元

《Node即学即用》由休斯-克劳奇、威尔逊编著,《Node即学即用》讲解如何用Node构建可扩展因特网应用,是全面的实用指南,除了详细介绍Node提供的API外,还用大量篇幅介绍了服务器事件驱动开发的重要概念。内容涉及跨服务器的并发连接、非阻塞I/O和事件驱动的编程、如何支持各种数据库和数据存储工具、NodeAPI的使用示例等。适合对JavaScript及编程有一定程度了解的读者阅读。一起来看看 《Node即学即用》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

MD5 加密
MD5 加密

MD5 加密工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具