jQuery Selectors
jQuery wraps DOM selections in its own object. These examples help you read existing projects; new code can often use native DOM methods.
Where to run this
Use a local browser project for this example. It needs browser permissions, additional files, a server endpoint, or a library as described below. The restricted playground cannot provide those dependencies.
A practical example
// HTML: <p class="notice">Waiting</p>
// Load jQuery in your local project first.
jQuery(".notice").text("Booking is open");
What happens
The selected paragraph receives plain text.