skip to Main Content

JQuery .append(): Add <strong> inside <p>

I'm trying to render this dynamically using jQuery .append() : <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" style="color: white" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <p> <strong>Error!</strong> My error message </p> </div> But I can't seem to get the p…

VIEW QUESTION
Back To Top
Search