JQuery $(“#content”).append not working

You are trying to find an element with tagname qwerty in the dom like <qwerty>sometext</qwerty> and append it to #content.

To append the string qwerty to #content use

$("#content").append("qwerty");

Demo: Fiddle

Leave a Comment