add:  return this._sFormData; 
context: 	setForm:function(formId, isUpload, secureUri)	{		this._sFormData = '';		if(typeof formId == 'string'){			// Determine if the argument is a form id or a form name.			// Note form name usage is deprecated by supported			// here for legacy reasons.			var oForm = (document.getElementById(formId) || document.forms[formId]);		}		else if(typeof formId == 'object'){			// Treat argument as an HTML form object.			var oForm = formId;		}		else{			return;		}		// If the isUpload argument is true, setForm will call createFrame to initialize		// an iframe as the form target.		//		// The argument secureURI is also required by IE in SSL environments		// where the secureURI string is a fully qualified HTTP path, used to set the source		// of the iframe, to a stub resource in the same domain.		if(isUpload){			this.createFrame(secureUri?secureUri:null);			this._isFormSubmit = true;			this._isFileUpload = true;			this._formNode = oForm;			return;		}		var oElement, oName, oValue, oDisabled;		var hasSubmit = false;		// Iterate over the form elements collection to construct the		// label-value pairs.		for (var i=0; i<oForm.elements.length; i++){			oElement = oForm.elements[i];			oDisabled = oForm.elements[i].disabled;			oName = oForm.elements[i].name;			oValue = oForm.elements[i].value;			// Do not submit fields that are disabled or			// do not have a name attribute value.			if(!oDisabled && oName)			{				switch (oElement.type)				{					case 'select-one':					case 'select-multiple':						for(var j=0; j<oElement.options.length; j++){							if(oElement.options[j].selected){								if(window.ActiveXObject){									this._sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oElement.options[j].attributes['value'].specified?oElement.options[j].value:oElement.options[j].text) + '&';								}								else{									this._sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oElement.options[j].hasAttribute('value')?oElement.options[j].value:oElement.options[j].text) + '&';								}							}						}						break;					case 'radio':					case 'checkbox':						if(oElement.checked){							this._sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oValue) + '&';						}						break;					case 'file':						// stub case as XMLHttpRequest will only send the file path as a string.					case undefined:						// stub case for fieldset element which returns undefined.					case 'reset':						// stub case for input type reset button.					case 'button':						// stub case for input type button elements.						break;					case 'submit':						if(hasSubmit == false){							this._sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oValue) + '&';							hasSubmit = true;						}						break;					default:						this._sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oValue) + '&';						break;				}			}		}		this._isFormSubmit = true;		this._sFormData = this._sFormData.substr(0, this._sFormData.length - 1);	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/connection.js/clean/www/resources/yui/connection/connection.js