title: get rel from div
body: <p>here Html given below   </p>
  
  <pre><code> &lt;div class="navBulletsWrapper"&gt;
  &lt;div rel="0" class=""&gt;&lt;/div&gt;
  &lt;div rel="1" class=""&gt;&lt;/div&gt;
  &lt;div rel="2" class=""&gt;&lt;/div&gt;
  &lt;div rel="3" class=""&gt;&lt;/div&gt;
  &lt;div rel="4" class="active"&gt;&lt;/div&gt;
  &lt;div rel="5" class=""&gt;&lt;/div&gt;
  &lt;div rel="6" class=""&gt;&lt;/div&gt;
  &lt;div rel="7" class=""&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>i want to get rel value of div having <strong>class active</strong> </p>
  
  <p>tried </p>
  
  <pre><code>$('.navBulletsWrapper .active')[0].attr('rel')
  </code></pre>
  
  <p>but  fails because div doesn`t have attr</p>