<!DOCTYPE html>src="//libs.baidu.com/jquery/1.10.2/jquery.min.js"$(document).ready(function(){$("button").click(function(){$("p").after(function(n){return "<div>The p element above has index " + n + ".</div>";});});});This is a headingThis is a paragraph.This is another paragraph.This is another paragraph.Insert content after each p element