rem: break; case "checkbox": var cbArray = []; for (var c=0; c<formItem.length; c++) { var check = formItem[c]; if (check.checked) { cbArray[cbArray.length] = check.value; } 
add: } break; case "checkbox": var cbArray = []; for (var c=0; c<formItem.length; c++) { var check = formItem[c]; if (check.checked) { cbArray[cbArray.length] = check.value; 
context: YAHOO.widget.Dialog.prototype.getData = function() {	var form = this.form;	var data = {};	if (form) {		for (var i in this.form) {			var formItem = form[i];			if (formItem) {				if (formItem.tagName) { // Got a single form item					switch (formItem.tagName) {						case "INPUT":							switch (formItem.type) {								case "checkbox": 									data[i] = formItem.checked;									break;								case "textbox":								case "text":								case "hidden":									data[i] = formItem.value;									break;							}							break;						case "TEXTAREA":							data[i] = formItem.value;							break;						case "SELECT":							var val = [];							for (var x=0;x<formItem.options.length;x++)	{								var option = formItem.options[x];								if (option.selected) {									var selval = option.value;									if (! selval || selval === "") {										selval = option.text;									}									val[val.length] = selval;								}							}							data[i] = val;							break;					}				} else if (formItem[0] && formItem[0].tagName) { // this is an array of form items					switch (formItem[0].tagName) {						case "INPUT" :							switch (formItem[0].type) {								case "radio":									for (var r=0; r<formItem.length; r++) {										var radio = formItem[r];										if (radio.checked) {											data[radio.name] = radio.value;											break;										}									}									break;								case "checkbox":									var cbArray = [];									for (var c=0; c<formItem.length; c++) {										var check = formItem[c];										if (check.checked) {											cbArray[cbArray.length] = check.value;										}									}									data[formItem[0].name] = cbArray;									break;							}					}				}			}		}		}	return data;};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/container-debug.js/clean/www/resources/yui/container/container-debug.js