Q:

Find element by data-id

How do I, with the clearest syntax, find the second element with the data-id 411 ?
<div data-id="410">Yo</div>
<div data-id="411">No</div>
<div data-id="412">Mm</div>

A:

$("div[data-id=411]").text("Hello")
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div data-id="410">Yo</div>
<div data-id="411">No</div>
<div data-id="412">Mm</div>

Something as simple as this should work. Jason is right though, the jQuery website has some great documentation.

