I am trying to use an \'if\' statement to determine which element was clicked.
Basically I am trying to code something along the lines of:
if (the el
The basis of jQuery is the ability to find items in the DOM through selectors, and then checking properties on those selectors. Read up on Selectors here:
http://api.jquery.com/category/selectors/
However, it would make more sense to create event handlers for the click events for the different functionality that should occur based on what is clicked.