I hereby claim:
- I am aestrro on github.
- I am aestrro (https://keybase.io/aestrro) on keybase.
- I have a public key ASAF1CmKMIiKNdENU6GxkDugdc9duNQLv1YmfbC_GtC6_go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Append anchor tag after DOM load | |
$('.container').append("\ | |
<a href='#' class='someclass'>Give me a cookie?</a>\ | |
") | |
// Attach click event to .someclass, et voilà | |
$(document).on("click",".someclass" ,function(e){ | |
e.preventDefault(); | |
console.log("ayyyyy!"); | |
}); |