JQuery - merging after removing middle element

Hentai

New Member
Suppose my HTML looks like this\[code\]<p>a<span>b</span>c</p>\[/code\]after\[code\]$("span").remove();\[/code\]my HTML looks like this \[code\]<p>"a""c"</p>\[/code\]how do I merge those two parts together, so my HTML looks like \[code\]<p>ac</p>\[/code\]?jsfiddle
 
Back
Top