【发布时间】:2011-04-04 11:00:50
【问题描述】:
我刚刚更新到 1.4.2,现在所有之前的工作都没有了。我不知道为什么。
var data = {
'what': 'post',
'type': $(this).attr('class'),
'id': $(this).next('input').val()
}
$.post(
'/utils/ajax/',
data,
function(response) {
alert(response.result);
}, 'json'
);
现在看起来(更新后)我什至无法进入成功函数,尽管萤火虫说一切都很好并显示了返回的字符串。如果这对我使用 django 有帮助。
感谢任何想法
问候
【问题讨论】: