Answers for "getattribute in typescript"

3

js getattribute

const link = document.querySelector('a');

console.log(link.getAttribute('href'));
Posted by: Guest on July-19-2020
0

getattribute

getAttribute(attributeName)
Posted by: Guest on January-09-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language