标签:nbsp pen var lis ext 转义 class src app
var content = $("#msg-text").val(); //发送聊天,拼接字符串-转义字符用\ var html = "<div class=\"msg-item msg-item-self msg-content\">"+ "<img class=\"msg-user-img\" src=\"../img/2.jpg\" style=\"float: right;\" />"+ "<div class=\"msg-content\">"+ "<div class=\"msg-content-inner\">"+ content+ "</div>"+ "<div class=\"msg-content-arrow\"></div>"+ "</div>"+ "<div class=\"mui-item-clear\"></div>"+ "</div>"; //追加 $("#list-msg").append(html);
标签:nbsp pen var lis ext 转义 class src app
原文地址:https://www.cnblogs.com/fdxjava/p/11481287.html