I will show you two ways to get an element by class. Using getElementsByTagName or creating a getElementByClass function.
Get elements by class
In this two-part article by Audra Hendrix, Bogdan Brinzarea and Cristian Darie, authors of AJAX and PHP: Building Modern Web Applications 2nd Edition, we will create a form validation application that implements traditional techniques with added AJAX flavor, thereby making the form more user-friendly, responsive, and pleasing. In the AJAX world, entered data is validated on the fly, so the users are never confronted with waiting for full-page reloads or the rude "blank form" as a reply.
Ajax Form Validation: Part 1
Our newly released book, jQuery: Novice to Ninja, contains a wealth of great ready-to-use solutions, and teaches you both the basic and more advanced concepts of jQuery as you progress.
Jquery Star Ratings
In this course, you will learn how to:
Learn Adobe Air, Part 2 Build a Customer Management App
Display a random quotation alternated every 5 seconds, in an infinite loop
Beginner JS Pt. 2
Beginner JS Pt. 1