$('#result_area').html('<%= j(render(partial: 'simulation/result', locals: { field_count: @field_count, results: @results })) %>');

$('#selected_file').val('');
$('#result_area').html('<%= j(render(partial: 'simulation/result', locals: { field_count: @field_count, results: @results })) %>');

Clear file field on uploaded
Clear file field on uploaded
