Articles » Javascript and jQuery Tutorials
Alternate Even and Odd Table Row Classes using jQuery
August 29th, 2010With 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, 2010A 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, 2010Function 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.
Clean URL Generator in Javascript
September 9th, 2009This function generates clean URL’s, similar to how Wordpress generates URL’s from the title tag.
Search Engine Friendly Exit Counter
July 2nd, 2006This tutorial explains a method for linking to other websites which will allow you to use an exit counting script without inhibiting SEO.