What is a simple jQuery statement that states an operation proceeds only if A and B are true? If A isn’t true, stop. If A and B are true, then continue.
`
What is a simple jQuery statement that states an operation proceeds only if A
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
jQuery is just a library which enhances the capabilities of the DOM within a web browser; the underlying language is JavaScript, which has, as you might hope to expect from a programming language, the ability to perform conditional logic, i.e.
Testing two conditions is straightforward, too:
Dear God, I hope this isn’t a troll…