title: jQuery: How to access <span> value attribute in Firefox?
body: <p>This code is working in IE and not in Firefox.
  Help me </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;jQuery test&lt;/title&gt;
  &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;
    &lt;script type='text/javascript'&gt;
       $(document).ready(function() { alert($('#hi').val()); });
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;span id='hi'value='10'&gt;This is my name&lt;/span&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>