Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/10/2008, 17:06
Avatar de flanagan44
flanagan44
 
Fecha de Ingreso: abril-2004
Mensajes: 182
Antigüedad: 20 años
Puntos: 2
no veo el problema

Buenas, tengo una pagina que le pongo este codigo reutilizado de otras paginas (y lo mas seguro sacado de este foro)

Pues resulta que aqui no me funciona, alguien sabe que me olvido???

Código HTML:
<html>
<head>
<script language="javascript" type="text/javascript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
function MM_jumpMenu2(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<link rel="stylesheet" media="screen" type="text/css" href="../css/estil_.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Modificar Videos</title>
</head>
<body>
	<table width="100%">
		<tr>
			<td align="center">
				<div class="block" id="index_box">
					<form name="f1" action="mvideot.php" method="post" enctype="multipart/form-data">
						Selecciona Art Marcial:
						<select name='secc' size="1" onchange="MM_jumpMenu('self',this,1)">
							<option value='mvideot.php'> Selecciona una Art Marcial</option>
							<option value='mvideot.php?art=4' selected>Altres</option>
							<option value='mvideot.php?art=10' >ssss</option>
						</select>
						<br>Selecciona Tècnica on vols insertar fotos:
						<select name='tec' size="1" onchange="MM_jumpMenu2('self',this,1)">
							<option value='mvideot.php?art=4'>Selecciona Tècnica</option>
							<option value='mvideot.php?art=4&tecs=6' selected>aaaa</option>
							<option value='mvideot.php?art=4&tecs=7' >wwwww</option>
						</select>
                        <br>
                        <table width='100%'>
							<tr>
                            	<td>						
                                    <form name="form0" action="mvideot.php" enctype="multipart/form-data" method="post">
										<table  width="200px" border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse;">
											<tr>
                                            	<td>
													<table width="317" height="131" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td width="44" rowspan="6"></td>
                                                            <td height="16" colspan="3"></td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" rowspan="5" valign="top">
                                                            	<img src="http://i3.ytimg.com/vi/DM2o2uPlsOA/default.jpg" width="110px" />
                                                            </td>
                                                            <td width="195" height="36" align="center">
                                                                <input type='hidden' name='accio' value='' />
                                                                <input type='hidden' name='num' value='0' />
                                                                <input type='hidden' name='art' value='4' />
                                                                <input type='hidden' name='tecs' value='6' />
                                                                <input type='hidden' name='id0' value='1' />                                      
                                                                <img src="../imatges/del.png" onClick="document.forms.form0.accio.value=1;document.forms.form0.submit()" />
                                                                <img src="../imatges/edit.png" onClick="document.forms.form0.accio.value=2;document.forms.form0.submit()">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td height="19" valign="top">Link:</td>
                                                        </tr>
                                                        <tr>
                                                            <td height="22" valign="top">
                                                            	<input type="text" name="link0"  size="30" value="http://www.youtube.com/watch?v=DM2o2uPlsOA">                                    
                                                            </td>
                                                       </tr>
                                                       <tr>
                                                            <td height="19" valign="top">Ordre:</td>
                                                       </tr>
                                                       <tr>
                                                            <td height="19" valign="top">
                                                            	<input type="text" name="ordre0"  size="3"value="2">
                                                            </td>
                                                       </tr>
													</table>
												</td>
											</tr>
										</table>
									</form>
								</td>
							</tr>
						</table>           
					</form>
				</div>
			</td>
		</tr>
	</table>
</body>
</html> 
El error que me da Es:

Línia: 41
caràcter: 1
Error: 'document.forms.form0.accio' es nulo o no es un objeto
Codi: 0
URL: http://www.u-zona.com/admin/mvideot.php?art=4&tecs=6


venga muchas gracias