How to Add New HTML Content using jQuery
In this article, you will learn How to Add New HTML Content using jQuery. Four jQuery Methods for add new content. jQuery append() method
…<html>
<head>
<title>jQuery append() Method</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#btn1").click(function(){
$("p").append("