Fires before the file is uploaded. This event can be cancelled.
"return false;" to cancel the event.
Syntax
Javascript (Usage) | |
---|
$(function () {
// Set upload event handler function
$(".selector").wijupload({
upload : function (e, data) {
}
});
});
|
Javascript (Specification) | |
---|
upload = function (
: jQuery.Event,
: object
) { };
|
Parameters
- e
- jQuery Event object
- data
- An object that contains the input file.
See Also
Reference
options type
wijupload jQuery Widget