rem: ajtype.value = type.value; 
add: ajtype.value = type.options[type.selectedIndex].value; 
context: function JProcess() {	var type = document.getElementById("vars_dbtype");	var host = document.getElementById("vars_dbhostname");	var user = document.getElementById("vars_dbusername");	var pass = document.getElementById("vars_dbpassword");	var ajtype = document.getElementById("theType");	var ajhost = document.getElementById("theHost");	var ajuser = document.getElementById("theUser");	var ajpass = document.getElementById("thePass");	var thisForm = document.getElementById( 'mainForm' );		if ( type.selectedIndex == 0 ) {		alert( '<jos:translate key="validType" escape="yes">Please select the database type</jos:translate>' );		return;	} else if (host.value == '') {		alert( '<jos:translate key="validHost" escape="yes">Please enter the host name</jos:translate>' );		return;	} else if (user.value == '') {		alert( '<jos:translate key="validUser" escape="yes">Please enter a database username</jos:translate>' );		return;	} else if (pass.value == '') {		alert( '<jos:translate key="validPass" escape="yes">Please enter a database password</jos:translate>' );		return;	} else {		ajtype.value = type.value;		ajhost.value = host.value;		ajuser.value = user.value;		ajpass.value = pass.value;			thisForm.ajform_submit();	}}
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3891/55e906efa0b63f152c7de7d137e4638b2b319a1f/dbconfig.js/buggy/installation/tmpl/dbconfig.js