在div中注入html代码

直接开始:

<div id="content"class="modal-body"> 

</div> 

在angularjs中使用如下代码,实现在id为content的div中插入html代码

 $("#content").html("<div></div>");
MrNou
原文地址:https://www.cnblogs.com/yangsirc/p/8041628.html