<!DOCTYPE html>
<html>
<head>
<title>jQuery insertAfter() method</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("<p>New text come after end of selected element.</p>").insertAfter("p");
});
});
</script>
</head>
<body>
<div>
<p>First paragraph start here...</p>
</div>
<button>Click Me</button>
</body>
</html>