jQuery doesn't recognize an attribute from a <a> tag
<p>I have this sort of a link:</p>

<pre><code>&lt;a class="image_button" data-problem_id="157"  style="display: inline;" href="#"&gt;&lt;span&gt;See Solutions Members Have Already Suggested&lt;/span&gt;&lt;/a&gt;
</code></pre>

<p>and then I try to get the id like this:</p>

<pre><code>var problem_id = $(this).attr("data-problem_id");
</code></pre>

<p>but it ends up being undefined. Any idea why? In other cases I did what seems to be exactly this, and I was able to get the problem_id</p>

<p>Thanks!</p>
