JavaScript

JavaScript: implementing getJSON() from scratch

How to implement from scratch a JavaScript method to fetch JSON and JSONP data.

November 8, 2012
JavaScript

JavaScript pseudo-validation: pseudo-validating an email address without regular expressions

JavaScript validation is a pseudo-validation. We should always bear this in mind.

June 27, 2012
JavaScript

JavaScript: create a uniqid() function

How to generate a random identifier with JavaScript.

June 22, 2012
JavaScript

JavaScript: empty a DOM element

How to remove all the child nodes from a DOM element with JavaScript.

June 16, 2012
JavaScript

JavaScript: create a unique ID from a string

How to create a random, unique ID from a string with JavaScript.

June 15, 2012
JavaScript

Look, ma: no jQuery! Creating footnotes with JavaScript and the DOM

How to create footnotes with plain JavaScript and the DOM.

June 14, 2012