Jquery attr returns 0 instead of value
<p>So i have a very simple html:</p>

<pre><code>​&lt;ul&gt;
    &lt;li value="test"&gt;test&lt;/li&gt;
&lt;/ul&gt;​​​​​​​​​​​​​​​​​​​​​​​
</code></pre>

<p>And this jquery script</p>

<pre><code>alert($("li").attr("value"));
</code></pre>

<p>It should return <code>test</code> but it returns 0, why is this happening?</p>
