According to the documentation this should work:
$('#content').on( 'load', function(event){
alert('ready')
})
But it doesn’t. http://jsfiddle.net/SJKqt/
This does work:
$('#content').on( 'load', alert('ready') )
But I can’t get anonymous functions to run at all.
The onload event is supported on the following elements:
So I guess you are not registering the handler on one of them.