26
rated 0 times
[
31]
[
5]
/ answers: 1 / hits: 33271
/ 8 Years ago, thu, july 7, 2016, 12:00:00
I have the following code to get an element by it's attribute:
document.getElementsByAttribute(xlink:href,id);
I get this error:
Uncaught TypeError: document.getElementsByAttribute is not a function
I don't understand what's going wrong, is it not a standard chrome function?
More From » google-chrome