DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript get element by rel attribute
document.querySelectorAll('[rel="prev"]')[0].innerHTML = "Older posts";
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#element
#rel
#attribute
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit