K
K
kevus2018-06-21 07:29:25
JavaScript
kevus, 2018-06-21 07:29:25

How to remove an attribute on JS Pure?

Hello.
This is how the jQuery code looks like. How will it look like in native JS? No libraries.
$(".newsBlock").removeAttr("title")

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Ander, 2018-06-21
@kevus

google.unban(' kevus ') -> https://www.w3schools.com/jsref/met_element_remove...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question