get value from a tag
<p>I have html structure  like this:</p>

<pre><code>&lt;div class="dk_options"&gt;
   &lt;ul class="dk_options_inner"&gt;
      &lt;li class="dk_option_current"&gt;&lt;a data-dk-dropdown-value=""&gt;Select State&lt;/a&gt;&lt;/li&gt;
      &lt;li class=""&gt;&lt;a data-dk-dropdown-value="1"&gt;AK&lt;/a&gt;&lt;/li&gt;
      &lt;li class=""&gt;&lt;a data-dk-dropdown-value="2"&gt;AL&lt;/a&gt;&lt;/li&gt;
      &lt;li class=""&gt;&lt;a data-dk-dropdown-value="3"&gt;AR&lt;/a&gt;&lt;/li&gt;
      &lt;li class=""&gt;&lt;a data-dk-dropdown-value="4"&gt;AZ&lt;/a&gt;&lt;/li&gt;
      &lt;li class=""&gt;&lt;a data-dk-dropdown-value="5"&gt;CA&lt;/a&gt;&lt;/li&gt;
      &lt;li class=""&gt;&lt;a data-dk-dropdown-value="6"&gt;CO&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>I want to get the value of a tag attribute data-dk-dropdown-value. my code is always show empty</p>

<pre><code>var a=jQuery('#dk_container_businessState .dk_options ul li a').attr('data-dk-dropdown-value');
alert(a);
</code></pre>
