Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 2
    The remove method will remove the element from the DOM. If you want to remove class, you have to call removeClass. For example: $('.ndfHFb-c4YZDc-aSZUA-Wrql6b').removeClass('ndfHFb-c4YZDc-aSZUA-Wrql6b');. Commented Feb 18, 2015 at 15:26
  • seems that it is inside an <iframe>, check this link out: changing elements from iframes jquery Commented Feb 18, 2015 at 15:30
  • dont work for me, can you see the image in attachment there is more code of that page... Commented Feb 18, 2015 at 15:30
  • Santiago, yes it is in an iframe i will try something from your link Commented Feb 18, 2015 at 15:46
  • IMHO, if you're using the presence of the class to flag its visibility, and that class is the only thing distinguishing that element from any other, then you're doing it wrong, since you just destroyed the very thing that'll let you reinstate the element later... Commented Feb 18, 2015 at 15:48