Wijmo UI for the Web
readonly Option

Default value: false

Determines whether a user can enter a value in the wijinput widget. If readonly is true, user can't input value to the wijinput widget.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijinputnumber("option", "readonly");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijinputnumber("option", "readonly", newValue);
        
});
Javascript (Specification) 
var readonly : boolean;
Browser Compatibility
7
5
5

See Also

Reference

options type
wijinputnumber jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.