Wijmo UI for the Web
startYear Option

Default value: 1950

Determines how the control should interpret incomplete year information when the "smartInputMode" option is set to true.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijinputdate("option", "startYear");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijinputdate("option", "startYear", newValue);
        
});
Javascript (Specification) 
var startYear : number;
Remarks
For example, if "startYear" is set to 1950 (the default), then years "0000" to "0050" will be converted to "2000" to "2050", and years "0051" to "0099" will be converted to "1951" to "1999".
Browser Compatibility
7
5
5

See Also

Reference

options type
wijinputdate jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.