Javascript CLEditor-如何将原始HTML显示为格式化标记?
我在应用程序上使用了CLEditor,但在显示textarea的格式化内容时遇到了问题。我从服务器收到的响应与此类似:Javascript CLEditor-如何将原始HTML显示为格式化标记?,javascript,jquery,html,ajax,cleditor,Javascript,Jquery,Html,Ajax,Cleditor,我在应用程序上使用了CLEditor,但在显示textarea的格式化内容时遇到了问题。我从服务器收到的响应与此类似: <span style="text-decoration: underline;">Number of customers:</span> <span style="font-weight: bold;">34</span><br> 客户数量:34 我想在页面上以格式化HTML的形式显示此代码段: 有没有办法在j
<span style="text-decoration: underline;">Number of customers:</span> <span style="font-weight: bold;">34</span><br>
客户数量:34
我想在页面上以格式化HTML的形式显示此代码段:
有没有办法在jQuery中实现这一点?我不确定是否正确,但:
$('#somediv').html(response);