My code :\[code\] <script type="text/javascript"> window.onload = function () { $.post("/Game/GetPlayers", function (data) { for (var i = 0; i < data.player.length; i++) { if ("@Session.SessionID" == data.player.AgainstId); { //some code } $("<li></li>").text(data.player.Name).on("click", function () {\*when i click - field hide */ $(this).hide(); $.post("/Game/SetId", { name: data.player.Name },function(data2) { alert(data2); }); }).prependTo("ol"); } }); } </script>\[/code\]Why tag(li) disappear when i click but second post request doesn'n work? Is it possible (request in request)?