I read here that \"self Refers to the current window or form\".
Self does not seem to refer to the current form in this case:
Never, unless I wanted to create a self variable in the scope of a function referring to the context for later reference,
function Constructor() {
var self = this;
}
You should use this to refer to the element at hand, not self. In global scope though this is a reference to window, and self is also window.