If anyone is interested I've found a solution. Before the submit I move out the tabs all the file fields, then I call the ajaxSubmit.
Here the js code: $('#test').submit(function() { // submit the form $(this).ajaxSubmit({success: function(returned_data) { $ ('#uploaded_files').html(returned_data); }, dataType:'text' }); return false; }); $('#submitLike').bind('click', function() { $('input[type=file]').appendTo($ ('#example')).css({'display':'none'}); $('#test').submit(); }); Here is the new working version: http://lab.gianiaz.com/jquery/file_upload_in_tab/solved.php I think It's not the better solution, but it works If someone has a better one please answer :-)