Skip to content

Commit b701719

Browse files
committed
Improving code comments on README
1 parent 5896532 commit b701719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ You can pass the following parameters to it:
2020
$('#myform').fileUpload({
2121
uploadData : { 'extra_data' : 'blah' }, // Append POST data to the upload
2222
submitData : { 'moar_extra_data' : 'blah' }, // Append POST data to the form submit
23-
uploadOptions : { dataType : 'json' }, // Customise the parameters passed to the $.ajax() call on uploads
24-
submitOptions : { dataType : 'json' }, // Customise the parameters passed to the $.ajax() call on the form submit
23+
uploadOptions : { dataType : 'json' }, // Customise the parameters passed to the $.ajax() call on uploads. You can use any of the normal $.ajax() params
24+
submitOptions : { dataType : 'json' }, // Customise the parameters passed to the $.ajax() call on the form submit. You can use any of the normal $.ajax() params
2525
before : function(){}, // Run stuff before the upload happens
2626
beforeSubmit : function(uploadData){ console.log(uploadData); return true; }, // access the data returned by the upload return false to stop the submit ajax call
2727
success : function(data, textStatus, jqXHR){ console.log(data); }, // Callback for the submit success ajax call

0 commit comments

Comments
 (0)