How to send a input file from a HTML Form to a PHP file using the jquery load?
Hi I wanna send a file thru the JQuery.load, I want it to work exactly like the regular post without the JQuery. So I can check the $_FILES['file']['error'] in PHP and all its features like I do without using JQuery.
Is that possible in the load method, how? if not what is the other ways to achieve this? Thank you.
$("#load").load('gerenciar_itens.php',{/* This is where I wanna pass the file. */}, function(data){
alert(data);
});