|
Question:
Remove attributes from elements?How can i remove one kind of attributes (like 'class') in a block
Example: Additional info by autor: The point is to make it with event, like "onclick", to check if there is attribute "class" to remove it.
You can apply style to all <a> tags:
Vote:
I think probably you ask for removeNamedItem() method on attributes collection of each HTML element.
The sample below works fine on IE, FireFox, Opera, Safari and probably others.
Vote:
Please vote! Your opinion matters!
If you haven't found what you've looking for, post a question
|
|