background preloader

In JavaScript

In JavaScript
JavaScript is a general purpose programming language that was introduced as the page scripting language for Netscape Navigator. It is still widely believed to be a subset of Java, but it is not. It is a Scheme-like language with C-like syntax and soft objects. JavaScript was standardized in the ECMAScript Language Specification, Third Edition. JSON is a subset of the object literal notation of JavaScript. Since JSON is a subset of JavaScript, it can be used in the language with no muss or fuss. In this example, an object is created containing a single member "bindings", which contains an array containing three objects, each containing "ircEvent", "method", and "regex" members. Members can be retrieved using dot or subscript operators. myJSONObject.bindings[0].method // "newURI" To convert a JSON text into an object, you can use the eval() function. eval() invokes the JavaScript compiler. var myObject = eval('(' + myJSONtext + ')'); The eval function is very fast.

http://www.json.org/js.html

Related:  parser xmlJQUERY

Nick Farina - A lightweight XML parser for NodeJS/JavaScript Check out xmldoc on Github or just npm install xmldoc. Ever need to parse a bit of XML in NodeJS? If so, you may be quite confused by your options. Sly Introduction Sly is a JavaScript library for advanced one-directional scrolling with item based navigation support. It can be used as a simple scrollbar replacement, as an advanced item based navigation tool, or as a great navigation and animation interface for parallax websites. This is achieved by a powerful & developer friendly API that provides a bunch of very useful methods giving you control over everything. Dependencies Parse large XML files in Node FATAL ERROR JS Allocation failed – process out of memory SAX xml parser handles large xml files but due to it’s complexity in handling events to capture specific xml node and data, we do not recommend this package either. This code is tested on Ubuntu 14.04. Due to some dependency issue it may not run on Windows. What’s our Requirement ?

Une galerie d'images simple avec jQuery Ce tutoriel vous guide dans la réalisation d’une galerie d’images simple, avec JavaScript et la bibliothèque jQuery. Introduction Réaliser une galerie photo en JavaScript n'est à première vue pas bien compliqué. EMERGENCE GROUP Cet article est extrait du tutoriel en cours de création par l'équipe Front-End du pôle R & D de EMERGENCE GROUP ®. Le tutoriel intitulé "environnement-de-production-nodejs-phb" sera mis à votre disposition dans cette section en décembre. Restez connecté sur Twitter : @egopublik. 01. Download jQuery Compressed and uncompressed copies of jQuery files are available. The uncompressed file is best used during development or debugging; the compressed file saves bandwidth and improves performance in production. You can also download a sourcemap file for use when debugging with a compressed file. The map file is not required for users to run jQuery, it just improves the developer's debugger experience.

jui_pagination docs - jQuery pagination plugin $("#element_id").jui_pagination({ totalPages: 100, containerClass: 'some_class', currentPage: 1, visiblePageLinks: 5, Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. Downloads Project Source Contribute Standard Select Turns This Into This

Related: