February 2014
Intermediate to advanced
410 pages
8h 15m
English
Clicking on website elements is a primary user interaction; therefore, detecting these clicks is a very fundamental aspect in creating interactive web applications. There are various ways in which jQuery developers can listen for certain button presses within their web page.
Using your favorite text editor or IDE, create a blank HTML page named recipe-1.html in an easily accessible location.
Create two buttons with click event handlers by performing the following steps:
recipe-1.html. Be sure to change the location of the jQuery library in the JavaScript file, pointing it to where the latest version of jQuery is downloaded on your computer.<!DOCTYPE html> <html> <head> ...
Read now
Unlock full access