blueimp/jQuery-File-Upload — Issue #770: Help! How/where do I submit form to upload.php via Ajax?
Author: scottybe
Created: 2011-11-07 18:51:01+00:00
State: open

I've added some form input elements for the user to add links to remote images or youtube videos, plus a submit button for the form. By default, the submit button sends the form to my (modified) upload.php as a new page, which means the returned json data is displayed! I realize I need to make an Ajax call to upload.php and have the data returned to a function in fileupload.js.

Does anyone know how and where I should bind the click event of my button to the code that makes the Ajax call?

Thanks!