Hi ,
I have the string value with html code .
ex: "My name is khan
<ul><li>welo</li><li>sdlld</li><li>ssal</li><li>asalas</li><li>aslaS</li></ul>
to
<ul><li>welo</li><li>sdlld</li><li>ssal</li><li>asalas</li><li>aslaS</li></ul><ol><li>HI
BOY </li><li>WWF</li></ol>."
i want to HTML code alone from string like as
<ul><li>welo</li><li>sdlld</li><li>ssal</li><li>asalas</li><li>aslaS</li></ul>
to
<ul><li>welo</li><li>sdlld</li><li>ssal</li><li>asalas</li><li>aslaS</li></ul><ol><li>HI
BOY </li><li>WWF</li></ol>.
Notes: In string , My name is khan is dynamic content so we will have
other text also instead of "My name is khan" .
ex: " Hi how are
<ul><li>welo</li><li>sdlld</li><li>ssal</li><li>asalas</li><li>aslaS</li></ul>
to
<ul><li>welo</li><li>sdlld</li><li>ssal</li><li>asalas</li><li>aslaS</li></ul><ol><li>HI
BOY </li><li>WWF</li></ol>."
so we should use split by khan or space(split(' ')). please give the
solution for above problem
Thank you
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.