jquery form submission prevention using e.preventDefault() is not working in multipart form submission ( when im using ajax to submit ). Is there any way to solve it ?
Code
$('.imgChange').submit( function(e){
load('do_upload.php',$(this).serialize());
e.preventDefault();
});
Using normal jQuery library it is not possible sent multipart form using ajax.
There are many other plugin for that.
I recommend jQuery Form Plugin
it is very easy to use. Only you have to do is import that plugin after jQuery
then use