I have the div:
<div class="io-content-pane" id="record-view" style="position: relative;></div>
How can I select this based on its class and its id in jQuery?
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.
Ids are unique in the page, so all you need is this:
If you want to combine an id and a class (which there should be no reason to do because it doesn’t select anything different in your page and is likely slower to process), you would do it like this: