title: Get Attributes Value for multiple class
body: <p>Im a Javascript beginner. I want to get attribute value on multiple class elements. I tried with IDs, but it's not revelent since IDs are supposed to be unique.</p>
  
  <p>My HTML looks like this :</p>
  
  <pre><code>&lt;a href="#" class="Test" onclick="myJavascriptFunc()" data="FooBar_1"&gt;
  &lt;a href="#" class="Test" onclick="myJavascriptFunc()" data="FooBar_2"&gt;
  &lt;a href="#" class="Test" onclick="myJavascriptFunc()" data="FooBar_3"&gt;
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks</p>