I need to put the word "hello" in the span that contains the attribute "data-whatever", ie for this span:
<span data-whatever="nomatterwhat"> </ span>
I need to do this:
$ ("span[data-whatever]").html("hello");
Note that this above is with JQuery, but I need to know how to do the same with pure javascript.