This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Usage: defaultValues.init(Element to bind); | |
| var defaultValues = { | |
| isOn : false, // Needed to se state of object | |
| isBind : false, // Check if the elm's have the blur and focus binded | |
| ThisElm : false, // Default to false. | |
| // Init function | |
| init: function($elm) { | |
| // Check if it's off and not bound. | |
| if (!this.isOn && !this.isBind) { | |
| this.ThisElm = $elm; |