Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

Remove from HTML using Javascript [closed]

$
0
0

How can I delete a <span> tag from HTML page if it contains only comma?

Let's say I have 3 <span>, all what i want is to remove the <span> who has ONLY " , " as a content .

<span class"info">, </span>

<span class"info">information</span>

<span class"info">information</span>

Result: Delete this tag <span class"info">, </span>


Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>