User Tools

Site Tools


eg-259:ch14

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
eg-259:ch14 [2013/02/27 08:19] – [Filters] eechriseg-259:ch14 [2013/02/27 08:20] – [Traversing the DOM] eechris
Line 316: Line 316:
 Functions that help you move around the selection set: Functions that help you move around the selection set:
 <code javascript> <code javascript>
-jQuery('p').add('<span>A Span</span>');+jQuery('p').append('<span>A Span</span>');
 var children = jQuery('p').children(); var children = jQuery('p').children();
 jQuery('li').each(function(index) { jQuery('li').each(function(index) {
eg-259/ch14.txt · Last modified: 2013/03/05 15:59 by eechris