Response title
This is preview!
var favorite = {};
favorite[videobody.id] = item.statistics;
1 |
| Object { viewCount= "88" , more... } |
$.ajax({
url: "/admin/songs/ajaxViewers",
type: "post",
data: {favorite:favorite},
success: function () {
// location.reload();
},
error: function () {
alert("PROBLEM");
}
});
- data: {favorite: JSON.stringify(favorite)},
favorite=%7B%7D
$codes = json_decode($request->get('favorite'));After that i can see html result
{#203}
And nothing more?
© 2013 jQuery Foundation
Sponsored by and others.