Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<script src="" integrity="sha256-36cp2Co+/62rEAAYHLmRCPIych47CvdM+uTBJwSzWjI=" crossorigin="anonymous"></script>
$('#list').append($('<li><a class="clickme">Clickable</a></li>'));
// @todo change any a.clickme background color to red when clicked
<button id="add_default">Add default</button>
<button id="add_clickable">Add clickable</button>
<ul id="list">
<li><a class="clickme">Clickable</a></li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment