Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/11/2011, 15:22
Avatar de arcanisgk122
arcanisgk122
 
Fecha de Ingreso: junio-2010
Mensajes: 755
Antigüedad: 14 años, 6 meses
Puntos: 28
Respuesta: update base de datos test pagina

scripts usados:


Código:
		<script type="text/javascript">
			function calcula1(){ 
			var operf1 = document.getElementById("pfrs");
			var operando1 = operf1.selectedIndex;
			var ope1 = operf1.options[operando1];
			var pfrs = ope1.value;
			var num = parseInt(document.form1.atr.value);
			var num2 = parseInt(ope1);
			var result = eval(num+pfrs);
			document.form1.atr.value = result;
			document.form1.frs.value = pfrs;}
			function calcula2(){
			var operf2 = document.getElementById("pdes");
			var operando2 = operf2.selectedIndex;
			var ope2 = operf2.options[operando2];
			var pdes = ope2.value;
			document.form1.des.value = pdes;}
			function calcula3(){
			var operf3 = document.getElementById("psab");
			var operando3 = operf3.selectedIndex;
			var ope3 = operf3.options[operando3];
			var psab = ope3.value;
			document.form1.sab.value = psab;}
			function calcula4(){
			var operf4 = document.getElementById("pvig");
			var operando4 = operf4.selectedIndex;
			var ope4 = operf4.options[operando4];
			var pvig = ope4.value;
			document.form1.vig.value = pvig;}
			function calcula5(){
			var operf5 = document.getElementById("pesp");
			var operando5 = operf5.selectedIndex;
			var ope5 = operf5.options[operando5];
			var pesp = ope5.value;
			document.form1.esp.value = pesp;}
			function toggleMe(a){
			var e=document.getElementById(a);
			if(!e)return true;
			if(e.style.display=="none"){
			e.style.display="block"}
			else {
			e.style.display="none"}
			return true;}

		</script>
__________________
Cooler Master Gladiator 600 - AMD PHENOM II X4 955 @ 3.5GHZ
GA-MA78GM-US2H - Super Talent 800 2GB x 2 Dual, (Unganged)
PSU Cooler Master eXtreme Power Plus 500W - Saphire R7-260OC-2GB