[jQuery] Performing a function if an element is present
Hello,
I'm getting started with jQuery and have read several tutorials, but
would appreciate clarification:
How can I create a simple conditional statement to check for the
presence of a certain element on a page, such as an anchor with a
certain class or id, and then perform a function?
I hope that this is an appropriate place to ask this question. If it
is not, I would appreciate any direction as to where might be more
appropriate.
Thank you!
Ezra Gildesgame