Checking data of all same class elements
- by Tiffani
I need the code to check the data-name value of all instances of .account-select. Right now it just checks the first .account-select element and not any subsequent ones.
The function right now is on click of an element such as John Smith, it checks the data-name of the .account-select lis. If the data-names are the same, it does not create a…