Skip to content

Instantly share code, notes, and snippets.

View edomaru's full-sized avatar

Eding Muhamad edomaru

View GitHub Profile
@edomaru
edomaru / jQueryLive.js
Created December 19, 2013 03:13
live() function for jQuery above 1.3
var count = 0;
$("body").on({
click:function(){
$(this).after("<p>Another paragraph! "+(++count)+"</p>");
}
}, "p");