I have the following HTML with data attributes - I want to write some jQuery that will loop through the HTML and collect the data attributes and put them into an array - cou
I understand you should use $(item), instead data only. Kindly find the code below: