wijmo.input.wijinputmask Namespace > options type : invalidClass Option |
The CSS class applied to the widget when an invalid value is entered.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: any returnsValue = $(".selector").wijinputmask("option", "invalidClass"); // Set value var newValue; // Type: any $(".selector").wijinputmask("option", "invalidClass", newValue); }); |
Javascript (Specification) | |
---|---|
|
// 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");