title: Jquery list update
body: <p>I currently have a drag/drop list my problem being I'm trying to detect when a div is dropped via Jquery using mouseup.</p>
  
  <p>The problem being the reason I need to do this is so I can update my lists (in MYSQL) - I plan on doing this using a Jquery Ajax post.</p>
  
  <p>My problem is I've set up the code and I don't know where I am going wrong - in my code you will see an alert function - I used this to show if the div was updating.</p>
  
  <p>So far I am receiving no alert..</p>
  
  <p>Here is the jquery at the moment:</p>
  
  <pre><code>$(document).ready(){
  $(.mouseup).mouseup(function(){
  var divparent = $(this).parent().attr("id");
  alert(divparent);
  });
  }
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thank you in advance!</p>