Getting all element attributes values in jQuery
Here is little example of getting element attributes values with the help of jQuery and store them in an object. The element’s attributes property is incredibly handy when we want to see what attributes are present in the element without explicitly knowing which to look for. The attributes property provides an easy level of dynamism. […]