Хорошо, у меня есть этот jQuery
$('.remove_me').click(function(){
var value = $(this).attr('title');
console.log('In here');
console.log(value);
$.ajax({
type: 'post',
url: "/shop_pos/index.php?route=module/cart/ajax_remove_item",
dataType: 'json',
data: {value : value},
success: function (data) {
},
complete: function () {
}
});
console.log(value);
});
А в консоли в firebug отображается console.logs, но нет исходящего ajax-запроса .. Я даже пробовал это и до сих пор ничего
$('.remove_me').click(function(){
var value = $(this).attr('title');
console.log('in here');
console.log(value);
$.getJSON('/shop_pos/index.php?route=module/cart/ajax_remove_item', {value: value}, function(data, textStatus)
{
console.log('not getting in here');
//optional stuff to do after success
});
console.log(value);
});
Что может привести к тому, что запрос ajax не сработает