You can use jQuery’s unwrap
for that. Just use any selector that will identify the span
, and then call unwrap
. For instance, if you give the span
an ID (this is just an example), then:
$("#theid").unwrap();
2
solved Remove wrapper tag [closed]