I\'m trying to use jquery and PHP to upload an image like so:
HTML
<
You can use $.ajax method in jquery and send the form data to a php file.
$.ajax({ type: "POST", url: "http://localhost/index.php", data: data, success: success, });