В
Size: a a a
СЧ
DU
modalWindow.classList ? modalWindow.classList.add('open') : modalWindow.className += ' ' + 'open';
DU
DU
I
DU
DU
DU
DU
DU
ВШ
АЖ
MB
var ajaxGetCountFlower = function (id) {
//console.log(id);
var obj = $.ajax({
type: 'POST',
url: domain + '/ajax/getProductAvailableQuantity.php',
data: {
'id': id,
'uid': app.getCookie('uid'),
},
success: function (data) {
console.log('data.quantity = ' + data);
},
error: function (xhr, str) {
alert('Возникла ошибка: ' + xhr.responseCode);
}
});
var result = obj.done(function( msg ) {
return msg;
});
console.log(result);
console.log(result['responseText']);
console.log(result.responseText);
return result;
};