Category: Tutorials

Tutorial for totaling table columns using jQuery

by Jack K

Here's a tutorial that shows one way to calculate totals for a set of columns in an HTML table:

http://beckelman.net/post/2008/11/13/Totals-and-Averages-of-Column-Data-on-Client-Side-Using-JavaScript-and-jQuery-Demo.aspx

This is the kind of thing that often shows up as a requirement in reporting tables and gives you a little jquery sample code for getting them in place.

jQuery Primer - Part 2

by Jack K

OK, so a few days ago I said I was looking forward to seeing what Part 2 of this series would bring, and here it is:

http://dotnetslackers.com/articles/ajax/JQuery-Primer-Part-2.aspx

This one's a quick jump up from the more basic stuff that Part 1 had, taking you right to creating a plugin to show how to extend jquery.

[2 cents] Very nice primer on creating a plugin. Steps you nicely into best practices (very similar to what we used for our listnav plugin). Quite a step up from the more basic stuff in Part 1.

Visualizing Data with Flot

by admin Email

The point: We often have to display large amounts of data on the web. Generally we show a table of values with headings and if we really wanted to get fancy we would use a picture of a graph. People like pictures. I like pictures. Why? Because it is far easier to interpret data when it is in visual form. However, creating a picture graph and updating it with new data can be a pain. In this tutorial, we?re going to use a jQuery plugin called Flot to create graphs on the fly.

http://nettuts.com/tutorials/javascript-ajax/visualizing-data-with-flot/

[2 cents] Nice walkthrough for getting good results from the jQuery Flot plugin. Amazing piece of work, that plugin (but hey, I'm not all that mathy, so easily impressed). I'd definitely return to this if I were to want to dive into Flot a bit. Plus, NETTUS tutorials pretty much rock.

jQuery Primer - Part 1

by admin Email

Tutorial walks through some of the key (and more useful) concepts for working with jQuery:

http://dotnetslackers.com/articles/ajax/JQuery-Primer-Part-1.aspx

[2 Cents] Wish I had this 2 years ago when I was scraping for some basic info. Nice, succinct intro to the stuff in jQuery that can get you productive pretty quick. Sheesh, does anyone still write friggin getElementByID() stuff anymore other than library developers? Ha! Looking forward to Part 2.