Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/08/2013, 18:51
TEXT
 
Fecha de Ingreso: agosto-2013
Ubicación: Puebla
Mensajes: 6
Antigüedad: 10 años, 8 meses
Puntos: 0
Respuesta: Multiples Menus de salto con un solo BOTON DE SUBMIT

En el momento que yo intento incrementar la tercera variable me marca error.
Código HTML:
<script type="text/javascript">


function MM_resolveTargetUrl(firstObjId,secondObjId,tercer,targ,restore){

var firstSelObj = null;
var secondSelObj = null;
var tercer = null;


with (document){

if (getElementById) {

firstSelObj = getElementById(firstObjId);
secondSelObj = getElementById(secondObjId);
[B]tercer = getElementById(tercerId);[/B]
}// end if

// WARNING: The following logic will only work if the initial values of the dropdown boxes are ---TEST1--- and ---TEST2---
// Change the if condition if the initial values are something else!!
if (firstSelObj.value == "---TEST1---"){ // user has not selected from first dropdown
if (secondSelObj.value == "---TEST2---") { // user has not selected from the second dropdown
[B]if (tercer.value == "---TEST3---") { // user has not selected from the second dropdown[/B]
ME GUSTARICA CONOCER UN POCO MAS AL RESPECTO DE JAVASCRIPT

MUCHISIMAS GRACIAS