Wijmo UI for the Web
invalidClass Option
wijmo.input.wijinputcore Namespace > options type : invalidClass Option

The CSS class applied to the widget when an invalid value is entered.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  any
    returnsValue = $(".selector").wijinputcore("option", "invalidClass");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijinputcore("option", "invalidClass", newValue);
        
});
var invalidClass : any;
Example
// This example sets the invalidClass option to "invalid".
.wijmo-wijinput.invalid {
color: red !important;
background-color: green !important;
font-size: xx-large;
} 
$(".selector").wijinputcore("option", "invalidClass" "invalid");
Remarks
For some property of the css, such as the color, because wijmo has set default style, and it may be has a higher priority, so custom need to user a higher priority than the defualt.
See Also

Reference

options type
wijinputcore jQuery Widget