Book description
jQuery is a JavaScript library that helps web developers create JavaScript applications that work well in any browser. This book demonstrates how to use jQuery to reduce the amount of code you need to write and reduce the amount of testing that is required. You?ll see how separation of presentation (CSS), markup (XHTML), and script (JavaScript and Ajax) in web pages is a crucial direction in web development for creating maintainable, accessible, cost-effective web sites. The featured full-color code syntax highlighting provides you with a visual reinforcement so you can see the various pieces and parts that make up each line and section of code for each language.
Table of contents
- Copyright
- About the Author
- Credits
- Introduction
-
I. jQuery API
-
1. Introduction to jQuery
- 1.1. What Does jQuery Do for Me?
- 1.2. Who Develops jQuery?
- 1.3. Obtaining jQuery
- 1.4. Installing jQuery
-
1.5. Programming Conventions
- 1.5.1. XHTML and CSS Conventions
- 1.5.2. JavaScript Conventions
- 1.6. Summary
-
2. Selecting and Filtering
- 2.1. The Origin of the Selectors API
- 2.2. Using the Selectors API
-
2.3. Filtering a Selection
- 2.3.1. Searching within a Selection with find()
- 2.3.2. Finding an Element's Siblings with siblings()
- 2.3.3. Selecting Specific Siblings
- 2.3.4. Searching Ancestors Using the parents() and parent() Methods
- 2.3.5. Selecting Children Elements
- 2.3.6. Selecting Elements via What You Don't Want
- 2.3.7. Selecting a Snippet of the Results
- 2.3.8. Adding More Elements to a Selection
- 2.3.9. Selecting One Specific Element from a Result Set
- 2.4. Summary
- 2.5. Exercises
- 3. Events
-
4. Manipulating Content and Attributes
- 4.1. Setting and Accessing Attributes
- 4.2. Manipulating Class Names
- 4.3. Manipulating HTML and Text Content
- 4.4. Replacing Elements
- 4.5. Removing Content
- 4.6. Cloning Content
- 4.7. Summary
- 4.8. Exercises
- 5. Arrays and Iteration
- 6. CSS
-
7. AJAX
- 7.1. Making a Server Request
- 7.2. Loading HTML Snippets from the Server
- 7.3. Dynamically Loading JavaScript
- 7.4. AJAX Events
- 7.5. Making an AJAX-Style File Upload
- 7.6. Summary
- 7.7. Exercises
- 8. Effects
- 9. Plugins
-
1. Introduction to jQuery
-
II. jQuery UI
- 10. Implementing Drag-and-Drop
- 11. Drag-and-Drop Sorting
- 12. Selection by Drawing a Box
-
13. Accordion UI
- 13.1. Building an Accordion UI
- 13.2. Setting Auto-Height
- 13.3. Changing the Default Pane
- 13.4. Toggling the alwaysOpen Option
- 13.5. Changing the Accordion Event
- 13.6. Filling the Height of the Parent Element
- 13.7. Setting the Header Elements
- 13.8. Styling Selected Panes
- 13.9. Selecting a Content Pane by Location
- 13.10. Summary
- 13.11. Exercises
- 14. Datepicker
- 15. Dialogs
- 16. Tabs
- A. Answers to Exercises
- B. Selectors Supported by jQuery
- C. Selecting and Filtering
- D. Events
- E. Manipulating Attributes and Data Caching
- F. Manipulating Content
- G. AJAX Methods
- H. CSS
- I. Utilities
- J. Draggables and Droppables
- K. Sortables
- L. Selectables
- M. Effects
- N. Accordion
- O. Datepicker
- P. Dialog
- Q. Tabs
- R. Re-Sizables
- S. Sliders
Product information
- Title: Beginning JavaScript® and CSS Development with jQuery
- Author(s):
- Release date: May 2009
- Publisher(s): Wrox
- ISBN: 9780470227794
You might also like
book
jQuery UI in Action
jQuery UI in Action is a practical guide to using and customizing jQuery UI library components …
book
Web Development with jQuery
Newly revised and updated resource on jQuery's many features and advantages Web Development with jQuery offers …
book
jQuery and JavaScript Phrasebook
Get more done faster with jQuery and JavaScript! Brad Dayley’s jQuery and JavaScript Phrasebook brings together …
book
Beginning HTML, XHTML, CSS, and JavaScript®
An indispensable introductory guide to creating web pages using the most up-to-date standards This beginner guide …