O'Reilly logo

Beginning jQuery by Jack Franklin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 1

image

JavaScript You Need to Know

jQuery is a framework that’s built on top of JavaScript, not a language in its own right. It is possible to write jQuery with barely any knowledge of JavaScript, but it’s not something I would recommend. If you want to be able to confidently write jQuery plug-ins for your site, or alter plug-ins others have written, you need to be familiar with basic JavaScript. This is why I’m starting with JavaScript that you need to know. This chapter will cover:

  • JavaScript scripts on a web page
  • Variables and objects in JavaScript
  • JavaScript functions
  • Conditionals
  • Looping over arrays and objects
  • Debugging JavaScript

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required