File: options

package info (click to toggle)
jquery-goodies 10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,996 kB
  • ctags: 490
  • sloc: xml: 308; makefile: 88; php: 48; sql: 39
file content (11 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
//It just haves the options bellow that will be applyed by default if you don’t specify any.

$.mask.options = options : {
	attr: 'alt', // an attr to look for the mask name or the mask itself
	mask : null, // the mask to be used on the input
	type : 'fixed', // the mask of this mask
	defaultValue : '', // the default value for this input
	onInvalid : function(){}, // called when receive wrong input
	onValid : function(){}, // called when receive correct input
	onOverflow : function(){} // called when the input should receive more input
};