title: Changing the data-content on a loop using Javascriipt
body: <p>I have this code:</p>
  
  <pre><code>&lt;div&gt;
  &lt;a href="#sizes" title="Select a Size" data-href="#sizes" class="size_selected" data-content="10.0"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am trying to change the data-content using javascript. But i want the code to loop until the data-Content changes.</p>