For example with jQuery 1.5.2 or smaller this code will log 'ololo' in FireBug console:
$.get(
'some_url',
{ data: 'some_data' },
function() {
console.log('ololo')
},
'script')
Same with .ajax (any type of request), .post
But with jQuery 1.6-1.6.1 the callback does nothing. However, the callback will be launched if data type is anything except 'script'. For example, 'json' or 'html.'
I have not been able to find something concerning this on http://api.jquery.com/jQuery.get/