How to extract all contents inside a div from HTML string in JavaScriptJquery

Программирование на jquery
Anonymous
How to extract all contents inside a div from HTML string in JavaScript

Сообщение Anonymous »

I have a HTML string like this :-

Код: Выделить всё

var html = '

[list]
[*]
[img]wow/img1.jpg[/img]
[url=http://wow.com]wow link[/url]
[*]
[img]wow/img2.jpg[/img]
[url=http://wow.com]wow link[/url]
[/list]

';
How to extract all the contents inside the ?

Подробнее здесь: https://stackoverflow.com/questions/766 ... javascript

Вернуться в «Jquery»