Skip to content
Advertisement

How to delete value in class in php (wordpress)?

I need to remove ‘wsqmylogin’ which is inside class with if condition.
I tried all the folloing codes but it doesn’t remove ‘wsqmylogin’.
Would you please let me know how to delete it?

Existing Code:

JavaScript


Codes I tried:

JavaScript

JavaScript

JavaScript

Advertisement

Answer

if you have access to the source code, you can try to delete that from the html/js file itself 😉

OOOOr if you really want to just delete it runtime, try to use element.parentNode.remove

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement