1.

Record Nr.

UNINA9910459659303321

Autore

Swedberg Karl

Titolo

jQuery 1.4 reference guide [[electronic resource] ] : a comprehensive exploration of the popular JavaScript library / / Karl Swedberg, Jonathan Chaffer

Pubbl/distr/stampa

Birmingham, U.K., : Packt Pub., 2010

ISBN

1-62198-893-7

1-282-50185-2

9786612501852

1-84951-005-9

Descrizione fisica

1 online resource (336 p.)

Collana

From technologies to solutions

Altri autori (Persone)

ChafferJonathan

Disciplina

006.7

006.76

Soggetti

JavaScript (Computer program language)

Ajax (Web site development technology)

Web sites - Design

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Authors; About the Reviewers; Table of Contents; Preface; Chapter 1: Anatomy of a jQuery Script; A dynamic table of contents; Obtaining jQuery; Setting up the HTML document; Writing the jQuery code; Script dissection; Selector expressions; DOM traversal methods; DOM manipulation methods; Event methods; Effect methods; AJAX methods; Miscellaneous methods; Plug-in API; Summary; Chapter 2: Selector Expressions; CSS selectors; Element (T); ID (#myid); Class (.myclass); Descendant (E F); Child (E > F); Adjacent sibling (E + F); General sibling (E ~ F)

Multiple expressions (E, F, G)Numbered child (:nth-child(n/even/odd/expr)); First child (:first-child); Last child (:last-child); Only child (:only-child); Not (:not(E)); Empty (:empty); Universal (*); Attribute selectors; Attribute ([foo]); Attribute equals ([foo=bar]); Attribute does not equal ([foo!=bar]); Attribute begins with ([foo^=bar]); Attribute ends with ([foo=bar]); Attribute contains



([foo*=bar]); Attribute contains word ([foo~=bar]); Attribute contains prefix ([foo|=bar]); Form selectors; Custom selectors; Element at index (:eq(n)); Greater than (:gt(n)); Less than (:lt(n))

First (:first)Last (:last); Even element (:even); Odd element (:odd); Is parent (:parent); Contains text (:contains(text)); Contains element (:has(E)); Visible (:visible); Hidden (:hidden); Header element (:header); Currently animating (:animated); Chapter 3: DOM Traversal Methods; The jQuery function; (); Filtering methods; .filter(); .not(); .has(); .eq(); .first(); .last(); .slice(); Tree traversal methods; .find(); .children(); .parents(); .parentsUntil(); .parent(); .closest(); .offsetParent(); .siblings(); .prev(); .prevAll(); .prevUntil(); .next(); .nextAll(); .nextUntil()

Miscellaneous traversal methods.add(); .is(); .end(); .andSelf(); .map(); .contents(); Chapter 4: DOM Manipulation Methods; General attributes; .attr() (getter); .attr() (setter); .removeAttr(); Style properties; .css() (getter); .css() (setter); .height() (getter); .height() (setter); .innerHeight(); .outerHeight(); .width() (getter); .width() (setter); .innerWidth(); .outerWidth(); .offset() (getter); .offset() (setter); .position(); .scrollTop() (getter); .scrollTop() (setter); .scrollLeft() (getter); .scrollLeft() (setter); Class attributes; .hasClass(); .addClass(); .removeClass()

.toggleClass()DOM replacement; .html() (getter); .html() (setter); .text() (getter); .text() (setter); .val() (getter); .val() (setter); .replaceWith(); .replaceAll(); DOM insertion, inside; .prepend(); .prependTo(); .append(); .appendTo(); DOM insertion, outside; .before(); .insertBefore(); .after(); .insertAfter(); DOM insertion, around; .wrap(); .wrapAll(); .wrapInner(); DOM copying; .clone(); DOM removal; .empty(); .remove(); .detach(); .unwrap(); Chapter 5: Event Methods; Event handler attachment; .bind(); .unbind(); .one(); .trigger(); .triggerHandler(); .live(); .die()

Document loading

Sommario/riassunto

This book and eBook is a comprehensive exploration of the popular JavaScript library