JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<style>
p { background:yellow; font-weight:bold; cursor:pointer;
padding:5px; }
p.over { background: #ccc; }
span { color:red; }
</style>
<script src="http://code.jquery.com/jquery-git.js"></script>
</head>
<body>
<p>Click me!</p>
<span></span>
</body>
</html>
JavaScript
$("p").live("click", function(event){
$(this).after("<p>Another paragraph!</p>");
return false;
});
$("body").live("click", function(event){
alert("here");
});