Friday 15 May 2020

How to add new elements to DOM in jQuery

Answer: User the jQuery append() function

You can add element to dom using append function. sometimes we need to create dynamic html to dom at that time you can use append function.

$("#dvData").append("How to add new elements to DOM in jQuery");  


1 comment:

  1. What a information of un-ambiguity and preserveness of precious experience about unexpected emotions.

    ReplyDelete



Asp.net tutorials