Quotes help make search much faster. Example: "Practice Makes Perfect"

Wednesday, November 7, 2012

Codecademy: Sample Solution to "Traversing the DOM - Find" under jQuery track



$('document').ready(function() {


//find descendents of the div with id 'divOne'
//that are span elements

$spanDescendants = $('#divOne').find('span');

});

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts