Update page using JSON data
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/updateWithJSON
软件介绍
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)
Node即学即用
[英] Tom Hughes-Croucher、[英] Mike Wilson / 郑达韡 / 人民邮电出版社 / 2013-2 / 39.00元
《Node即学即用》由休斯-克劳奇、威尔逊编著,《Node即学即用》讲解如何用Node构建可扩展因特网应用,是全面的实用指南,除了详细介绍Node提供的API外,还用大量篇幅介绍了服务器事件驱动开发的重要概念。内容涉及跨服务器的并发连接、非阻塞I/O和事件驱动的编程、如何支持各种数据库和数据存储工具、NodeAPI的使用示例等。适合对JavaScript及编程有一定程度了解的读者阅读。一起来看看 《Node即学即用》 这本书的介绍吧!
