Recent Posts
Calendar
November 2013
S M T W T F S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Posts Tagged ‘selector’

jQuery – Explaining Last Week’s Code

ka_vol1_070 Last week I left you with a chunk of code that showed you that you had successfully installed jQuery into your web application.

The code we need to discuss looks like this:

$(document).ready(function() {
    alert("jquery is working");
});

Read the rest of this entry »

jQuery Simple Selectors

A03B0023 Last week we started looking at the jQuery selector by looking at the syntax we used to get our “hello world” demo working.

Today, we’ll start digging a little deeper into this main feature of jQuery.

There are four basic ways to get data using the selector.

  • By the tag name
  • By the ID
  • By the class name
  • Using an XPath statement

Read the rest of this entry »