php - Upload Like Normal using the jQuery-File-Upload plugin -
i wanting use jquery-file-upload plugin located here https://github.com/blueimp/jquery-file-upload . have implemented part having trouble submitting form. when user clicks on "upload", instead of uploading default directory on server, page post can verify files , store them on server. possible plugin?
according https://github.com/blueimp/jquery-file-upload/wiki/api looks should able set upload handler end point using url parameter during initialization. image point php/aspx/anything else location , handle in there.
the file upload widget initialized calling fileupload method on jquery collection target html element:
$('#fileupload').fileupload();
the target element container element holding file upload form, or file upload form itself, can file input element itself, if url provided options parameter.
the initialization method's first argument object allows initialize widget various options:
$('#fileupload').fileupload({ url: '/path/to/upload/handler.json', sequentialuploads: true });
Comments
Post a Comment