Wijmo UI for the Web
action Option

Default value: ""

Specifies the URL path of the server-side handler that handles the post request, validates file size and type, renames files, and saves the file to the server disk.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijupload("option", "action");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijupload("option", "action", newValue);
        
});
Javascript (Specification) 
var action : string;
Example
For php: 
$(".selector").wijupload("option", "action", "../upload.php")
For asp.net: 
$(".selector").wijupload("option", "action", "../handlers/uploadHandler.ashx")
Browser Compatibility
7
5
5

See Also

Reference

options type
wijupload jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.