Subscribe
Free Knowledge in an RSS feed

Articles » Javascript and jQuery Tutorials

The Joys of Working with Backbone.js from a Backend Developer

December 30th, 2011

A backend programmer’s take on the Backend.JS JavaScript MVC Framework.

How to use javascript event bindings to make callbacks cleaner

December 29th, 2011

It’s common practice to start writing a bunch of nested functions in JavaScript. This tutorial describes a way to keep your code clean while doing so.

Enabling AJAX result script execution in MochaUI

October 2nd, 2010

While working on the NeoInvoice project, we had the need to be able to execute script tags returned from the server via AJAX requests. For example, a person may make an update to a client, such as renaming the client or updating the clients email address. Depending on which items get changed, the clients panel [...]

Android Nexus Neural Network Live Wallpaper in jQuery

September 4th, 2010

After staring at the live wallpaper for my Android phone for a while, I started to wonder if I could recreate the animations using JavaScript and jQuery. At first it looked like it would be a pain due to keeping track of tiles, colors, flipping the colors, coloring neighboring tiles near the plasma ‘heads’, etc. [...]

Alternate Even and Odd Table Row Classes using jQuery

August 29th, 2010

With the CSS3 pseudo element classes being right around the corner, namely :even and :odd, the ability for us web designers to color even and odd rows will soon be as easy as adding this to our CSS documents: tr:even td { background-color: #ffffff; } tr:odd td { background-color: #fafafa; } But, until browsers support [...]

Dynamic Form Actions using Different Buttons

April 25th, 2010

A method for dynamically changing form action depending on which submit button is clicked using JavaScript. Does not require knowledge of the forms name.

Read GET URL variables using JavaScript

March 4th, 2010

Function which will either build an associative array of the GET URL variables on the current page, or return the value of a specified GET variable in JavaScript.

Preloading CSS Hover Images

November 14th, 2009


This is a method for pre-loading your images used in CSS. Normally, when you hover over a link, the browser has to download the hover image, which will cause the background color to “flash” for a second and ruin the user experience. This article explains how to fix that problem using javascript.

Simple AJAX

November 13th, 2009


AJAX is not a language. It is simply giving a name to something that has existed for years. Using the DOM of the web browser you are allowed to pass XML between the server and the client without having to reload the page. You don’t necessarily have to pass XML; in this example we will be passing simple text.

Search Engine Friendly Exit Counter

July 2nd, 2006

This tutorial explains a method for linking to other websites which will allow you to use an exit counting script without inhibiting SEO.