Is it possible to get both the attribute name and the value of an element?
Basically i want to get the name and the values of all attributes of a single element, in order to write them into a Javascript Object like this:
obj {
key: "value",
another_key: "another_value",
}
Thx for any response