Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/08/2006, 15:55
Avatar de skatomundo
skatomundo
 
Fecha de Ingreso: junio-2002
Ubicación: Santiago - CL
Mensajes: 2.532
Antigüedad: 22 años, 7 meses
Puntos: 125
POP UP- debes considerar el valor "valoropciones" como un input Hidden dentro del PopUP
Si utilizas "\" encontrarás "unterminated string literal"

SOLO MODIFCA POPUP
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>Untitled Document</title>
<
script language="javascript">

function 
addSelectedItemsToParent() {
self.opener.addToParentList2(window.document.forms[0].valoropciones);
window.close();
}

</script>
</head>

<body>
<form name="form1">
<input name="valoropciones" type="hidden">
<p>&nbsp;</p>
<ul>
<li><a href="#" onclick="javascript:window.document.forms[0].valoropciones.value='opcion1';addSelectedItemsToParent();">Opcion 1 </a></li>
<li>sdfsdfsdf</li>
</ul>
</form>
</body>
</html>