Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var cConfig = {
- "readOnly" : false,
- "step" : 1,
- "showSpinButtons" : true,
- "formatter" : {
- "name" : "number",
- "options" : {
- "style" : "percent",
- "minimumFractionDigits" : 2,
- "maximumFractionDigits" : 2,
- "useGrouping" : false
- }
- },
- "corrective" : 100,
- "onInitialized" : function(e) { console.log('input2.onInitialized'); },
- style: { // User style
- "background-color" : "red",
- "color" : "#fff",
- "text-decoration" : "underline",
- "attribute" : "value",
- "attribute" : "value",
- "attribute" : "value"
- };
- input2 = $("#input2").gtNumberBox({cfg: cConfig,value: null});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement