I have a html markup with some <div> elements like this:
<div id="1" class="classic">i am text</div>
<div id="2" class="classic">i am text</div>
<div id="3" class="classic">i am text</div>
<div id="4" class="classic">i am text</div>
How can I select a div that has this class and a specific id like 1?
Can you show me how to do this in jQuery?
e.g.
is what you want; please create valid HTML first!