I\'ve got an XML document that contains a tag that has well-formed HTML content. I need to get that HTML into my page using JavaScript. However, due to CMS issues, the HTML
Not overly clean but could you not use something like found in this example JQuery Object to Sring and do something like... var myHTML = $('').append($(menuArray[n]).find('content').clone()).remove().html(); Ugly I know but should work 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
var myHTML = $('').append($(menuArray[n]).find('content').clone()).remove().html(); Ugly I know but should work 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Ugly I know but should work