COIS 3420H Lecture Notes - Lecture 9: Javascript Library, Jquery

39 views2 pages

Document Summary

Dom document object model: a parsed hierarchy tree of the html document jquery is a library developed to make it fast and easy to write cross-browser code. Javascript frameworks are designed to simplify the writing of enterprise level javascript applications. Why jquery: we don"t have time to learn a framework, open source, easy to learn the basics, and use quickly, extensible, still the most popular javascript library on the web. How does it work: focus on the interaction between javascript and html. Its succinct jquery object usually used to select things (almost) every operation boils down to: find some stuff, do something with it. Example: . addclass( xyz ) this adds a class =xyx to all div elements. It is recommended to execeute your code in a function, so that it runs when a certain event takes place. Should try to make your code run after your page has fully loaded.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents