Hacker News new | past | comments | ask | show | jobs | submit login

Look at the DOM Attr interface [1].

You can list attributes, get their name, namespace, value.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Attr




All of which you can do with the other methods.


Sure




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: