sortable and data() problem

sortable and data() problem

hello 

need to become the teamid / userid and id from the <ul>. works only when i moved from <ul id=2 back to 1.

HTML
  1. <ul id="1" class="connected"> <li id="send" data-teamid="1" data-userid="1">Name A</li> <li id="send" data-teamid="1" data-userid="2">Name B</li></ul> <ul id="2" class="connected"> <li id="send" data-teamid="1" data-userid="2">Name C</li> <li id="send" data-teamid="1" data-userid="3">Name D</li> </ul> 

CODE
  1. <script> $(function() { $('.connected').sortable({ stop: function(event, ui) { }, receive: function(event, ui) { var teamid = $('#send').data('teamid'); var userid = $('#send').data('userid'); var posid = this.id; $.get("set.php", { team: teamid, user: userid, pos: this.id }); }, connectWith: ".connected" }).disableSelection(); }); </script>