jQuery, Part 3 of 6: DOM
Interactive

jQuery, Part 3 of 6: DOM

LearnNow Online
Updated Aug 22, 2018

Course description

In the jQuery: Dom course you will get an overview of what DOM is and what was the old way of using DOM, then finish up on the way jQuery uses DOM.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

Basic knowledge of computer programming in C++, C#, or Java.


Meet the expert

Michael Bibeault

Michael Bibeault has been turning coffee into quality software since 1976 when he starting programming in BASIC on a Control Data Cyber. He is currently an Architect and Technical Lead at a company that manufactures residential gateways and set-top TV boxes. Bear has two Electrical Engineering degrees from the University of Massachusetts and has also taught in the Graduate Computer Engineering Program of that esteemed institution for a decade. Bear has co-authored four books: Ajax in Practice, Prototype and Scriptaculous in Action, jQuery in Action, and jQuery in Action, 2nd edition. He is also currently working on a 5th book with John Resig: Secrets of the JavaScript Ninja.

Video Runtime

56 Minutes

Time to complete

160 Minutes

Course Outline

jQuery: DOM

DOM Basics (28:58)

  • Introduction (00:58)
  • Making Pages Dynamic (00:31)
  • Injecting New HTML (01:49)
  • HTML Content Method (04:14)
  • HTML Method Examples (01:23)
  • Demo: Injecting HTML (03:22)
  • Managing Element Attributes (01:00)
  • Getting And Setting Attributes (02:10)
  • Demo: Managing Attributes (01:29)
  • Setting Multiple Attributes (01:28)
  • Demo: Multiple Attributes (01:06)
  • Managing Object Properties (00:52)
  • Managing Element Classes (04:19)
  • Managing Form Element Values (00:35)
  • Demo: Managing Elements (01:37)
  • Fetching and Injecting Text (01:25)
  • Summary (00:33)

DOM Injection (16:39)

  • Introduction (00:41)
  • Injecting New Elements (02:16)
  • Cloning Elements (00:40)
  • Inserting Elements into the DOM (00:50)
  • Injecting Wrapped Elements (02:23)
  • Inserting a New Element (01:50)
  • Wrapped Elements Examples (01:10)
  • Moving Existing Elements (01:13)
  • Insertion with Wrapped Targets (02:15)
  • Wrapping Elements (02:25)
  • Unwrapping Elements (00:26)
  • Summary (00:25)

DOM Styles (10:36)

  • Introduction (00:44)
  • Affecting Element Styles (03:10)
  • Demo: Affecting Element Styles (01:33)
  • Affecting Element Styles 2 (00:53)
  • Removing Elements (00:55)
  • Tacking Data Onto Elements (02:18)
  • Removing Data from Elements (00:28)
  • Summary (00:31)