You will need to change the DIV property of innerHTML .. with jQuery this is done like this:
$('#container').html('... new content goes here...');
so in your case add the success function:
$('#container').html(data);
or
$('#container').html(data.someAttribute);
depending on the type and structure of the returned data.
source
share