jquery-option-tree - Google Code This jquery plugin converts passed JSON option tree into dynamically created <select> elements allowing you to choose one nested option from the tree. It should be attached to a (most likely hidden) <input> element. It requires an option tree object. Object property names become labels of created select elements, each non-leaf node in the tree contains other nodes. Leaf nodes contain one value - it will be inserted into attached <input> element when chosen. The plugin also supports loading additional levels via AJAX calls and preselecting given items at load. $('input[type=hidden].nested').optionTree(option_tree); It will display a select element with three options: "Choose When client finally chooses a leaf option ("Suboption", "Subsub X" in the example), its value (represented by numbers here) is assigned to selected <input> element and its change() event is triggered. Plugin accepts config object as 2nd parameter. $('input.nested').optionTree(option_tree, config);
Native JSON Parsing: What does it mean? - Rick Strahl's Web Log JSON support is part of the EcmaScript 3.1 standard and so is likely to become ubiquitous in all browsers going forward. Internet Explorer 8 now includes native JSON parsing. FireFox 3.5 and the next version of WebKit/Safari too have or shortly will have native JSON support inside of the browser. This is good news as it helps simplify a common task for AJAX applications that send data back and forth between clients. You can check out the native JSON support today: Internet Explorer 8 FireFox 3.1 Beta 3 (new FF 3.5 Beta 4 expected next week) Native JSON Support finally – sort of IE 8 is the first shipping browser with native JSON support. The native JSON object is based on Douglas Crockford’s JSON2 interface, which provides .stringify() and .parse() methods to encode and decode JSON data respectively. So, using either Crockford’s json2.js or the native JSON object you can do: Those pesky Dates – Still! One prickly issue with JSON parsing in general is date parsing and serialization.