jQuery Tutorial


jQuery Example


jQuery References


jQuery HTML after() Method Reference


  All jQuery with HTML Method References


Uses

jQuery after() method add into end of selected elements.


Syntax

$(selector).after(content)

jQuery after() method supported following parameters.

ParameterDescription
contentcontent is Required parameter. Insert content end into selected element.

jQuery after() Method Example

<script type="text/javascript"> 
$(document).ready(function(){
  $("button").click(function(){
	$("p").after(" Online Web Development Tutorial");
  });
});
</script>
Online Try This Code Your Self....   »

  All jQuery with HTML Method References