I have the following code:
$('.TopNotificationIcon span').remove();
Is it possible to replace .TopNotificationIcon with this , but inside this specific class only span exists.
This is the structure
<div class="TopNotificationIcon"><span>xxxxx</span></div>
When you click .TopNotificationIcon , the span should be removed.
javascript jquery
aWebDeveloper
source share