Wijmo UI for the Web
invalidClass Field

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

Syntax
Javascript (Usage) 
var value; // Type: any
value = jQuery.wijmo.wijinputnumber.options.invalidClass;
Javascript (Specification) 
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.
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.