Check response code first.
function( response, status, xhr ) {
if ( status == "error" ) {
var msg = "Sorry but there was an error: ";
$( "#error" ).html( msg + xhr.status + " " + xhr.statusText );
}
});
add this code like $(element).load(url, function(){..});
Try this:
$( "#model" ).load( "model.php" ,values);