rem: this.form = document.createElement("form"); this.form.id = this.options.formId; Element.addClassName(this.form, this.options.formClassName) this.form.onsubmit = this.onSubmit.bind(this);  
add: var ipe = this; function addText(mode, condition) { var text = ipe.options['text' + mode + 'Controls']; if (!text || condition === false) return; ipe._form.appendChild(document.createTextNode(text)); }; this._form = $(document.createElement('form')); this._form.id = this.options.formId; this._form.addClassName(this.options.formClassName); this._form.onsubmit = this._boundSubmitHandler; 
context:   createForm: function() {    this.form = document.createElement("form");    this.form.id = this.options.formId;    Element.addClassName(this.form, this.options.formClassName)    this.form.onsubmit = this.onSubmit.bind(this);    this.createEditField();    if (this.options.textarea) {      var br = document.createElement("br");      this.form.appendChild(br);    }    if (this.options.okButton) {      okButton = document.createElement("input");      okButton.type = "submit";      okButton.value = this.options.okText;      okButton.className = 'editor_ok_button';      this.form.appendChild(okButton);    }    if (this.options.cancelLink) {      cancelLink = document.createElement("a");      cancelLink.href = "#";      cancelLink.appendChild(document.createTextNode(this.options.cancelText));      cancelLink.onclick = this.onclickCancel.bind(this);      cancelLink.className = 'editor_cancel';            this.form.appendChild(cancelLink);    }  },
meta: 8434	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8434/6873fc8026e87544ee93e0d9551ae57083313cff/controls.js/buggy/vendor/rails/actionpack/lib/action_view/helpers/javascripts/controls.js