title: How to read the ul id?
body: <p>I am having <code>&lt;ul class= "list" id = "List"&gt;</code></p>
  
  <p>I want to read the ul id </p>
  
  <p><code>$("li:last-child input:button").live('click', function () {
               var val = $(this).closest('ul').val();
               alert(val);
           });</code></p>
  
  <p>How can I do that? In the above the alert is not displaying the id.</p>