I have the following code :
$('.TopNotificationIcon span').remove();
Can I replace .TopNotificationIcon
with this
i.e only span
exists inside this specific class.
This is the structure
<div class="TopNotificationIcon"><span>xxxxx</span></div>
On click of .TopNotificationIcon
, span
should be removed.