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");
}
});
The function always receives reporter_email and complaint_number, but textarea never.
I tried $("textarea#message-complaint").val() and $("textarea#message-complaint").text() the result is same.
When
$("textarea#message-complaint").val().lenght
always return 0
$('#protocol_data #protocol').live('click',function () {
var numberDoc = $('#protocol_data #protocol').val();
console.log(numberDoc);
© 2013 jQuery Foundation
Sponsored by and others.