Wijmo UI for the Web
invalidClass Option
wijmo.input.wijinputtext 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").wijinputtext("option", "invalidClass");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijinputtext("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
wijinputtext jQuery Widget