CHAPTER 1

image

CSS—The Secret

You may wonder what a chapter about Cascading Style Sheets (CSS) is doing at the beginning of a book about jQuery. In fact, I didn’t fully understand the connection until I drew the analogy between SQL and jQuery. CSS selectors locate web page elements in a way analogous to the where clause of a SQL statement.

This chapter aims to help you understand this analogy and show you how to leverage your existing SQL skills to locate page elements for jQuery to act upon. jQuery turns the analogy into a SQL update, and JavaScript (where jQuery expressions live) has translations to PL/SQL.

First, you’ll see how selectors work and ...

Get Pro jQuery in Oracle Application Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.