Posts Tagged ‘jQuery’


Boilerplate JavaScript Document

When creating a new javascript document, there are several principles you should keep in mind. I was disappointed to see there were no clear and obvious boilerplates for getting started on a new javascript document so I've put this one up for reference. (function() { 'use strict'; // add your event handlers here document.addEventListener("DOMContentLoaded", function(event) { Read the full article...