title: get a div value from jquery
body: <p>In the following div how can i get the value=12 value when the div is clicked</p>
  
  <pre><code>&lt;div value='12' id='div1'&gt;some content&lt;/div&gt;
  
  $('#div1').live("click", function(a) {
  alert(this.value);
      alert($('#div1').val());  //doesnt work
  
  
  });
  </code></pre>