What is different between .append and .html
What is different between .append and .html in asp.net mvc
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Oct 16, 2016, 11:33 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Oct 17, 2016, 5:48 AM EDT
.append() add some value(html string) with the existing one inside an element, whether .html() do the same but it removes the old value.
Please have a look at below blog-
http://xhtmlandcsshelp.blogspot.in/2010/09/difference-between-append-and-html-in.html?m=1