TESTING

HEADING

"; var HTMLD."/> TESTING

HEADING

"; var HTMLD."/> TESTING

HEADING

"; var HTMLD"/>
خرید بک لینک

Vote count: 0

I convert a string of HTML into an object so I can manipulate like this

var HTMLStr = "<div><span>TESTING</span></div><h1>HEADING</h1>";
var HTMLDom = $(HTMLStr).find("h1").remove();
var newHTMLStr = ???

Question: How can I convert the HTMLDom back into a string after manipulation?

I have tried the following: http://stackoverflow.com/a/652771/3758078 But that only converts the first element found, and not the rest.

asked 43 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 26 تير 1395 ساعت: 5:27

صفحه بندی