js在前端解析数据库查的html字符串,在前端还原

<p id="html" th:vl="${moveCollege.info}" (ps数据库查的html内容)>
       
    </p>
$(function () {
        //详情展示
        $('#html').html($('#html').attr("vl"));
        });
发布了62 篇原创文章 · 获赞 21 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/qq_40618664/article/details/102796917