Retroceder   Foros del Web > Diseño de Sitios web > Web general

Respuesta
 
Herramientas Desplegado
Antiguo 21-abr-2008, 04:41   #1 (permalink)
Laufwerk no se puede cailificar en este momento
 
Fecha de Ingreso: marzo-2007
Mensajes: 210
ComprobarForm is not defined

Hola amigos!!
la consola de error del firefox me da el siguiente error:
ComprobarForm is not defined
La cuestion es que esta función la tengo en js/auxfunc.js correctamente, sino vean el codigo
function ComprobarForm(tipo_consulta){
...}

He mirado el codigo de la pagina, no vaya a ser que no me ponga bien segun que variables y lo tengo todo correcto.
vean vean!!!

Código:
<!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=utf-8" />
 <link rel="stylesheet" type="text/css" href="css/form.css" media="screen"/>
 <script type="text/javascript" src="js/auxfunc.js"></script>
 <script type="text/javascript" src="js/md5.js"></script>
<title>Untitled Document</title>
</head>
	<script type="text/javascript">
	function colocar() {
		document.getElementById("user_name").focus();
	}
	</script>

	<body onload = "javascript:colocar()"><form method="POST" ACTION="EditORNewUser.php" onSubmit="return ComprobarForm('nuevo')"><div id="etiquetas">
        <div id="height"><label for="iduser"></label></div><!-- FIN HEIGHT -->
        <div id="height"><label for="username">Nombre Usuario : </label></div><!-- FIN HEIGHT -->
        <div id="height"><label for="password">Contraseña : </label></div><!-- FIN HEIGHT -->
        
        <div id="height"><label for="password_2">Repite contraseña : </label></div><!-- FIN HEIGHT -->
        <div id="height"><label for="email">Correo electrónico : </label></div><!-- FIN HEIGHT -->
        <div id="height"><label for="language">Idioma : </label></div><!-- FIN HEIGHT -->

        <div id="height"><label for="modulesbyuser">Módulos : </label></div><!-- FIN HEIGHT -->
    </div><!-- FIN ETIQUETAS -->
    <div id="textbox">
    	<div id="height"><div id="textbox_1"><input id="id_user" name="id_user" type="hidden" value="" /></div></div><!-- FIN HEIGHT -->
    	<div id="height"><div id="textbox_1"><input id="user_name" name="user_name" type="text" value=""/></div></div><!-- FIN HEIGHT -->
    	<div id="height"><div id="textbox_1"><input id="new_contrasenya" name="new_contrasenya" type="password" value=""/></div></div><!-- FIN HEIGHT -->
        
    	<div id="height"><div id="textbox_1"><input id="new_contrasenya_check" name="new_contrasenya_check" type="password" value=""/></div></div><!-- FIN HEIGHT -->
	   	<div id="height"><div id="textbox_1"><input id="email" name="email" type="text" value=""/></div></div><!-- FIN HEIGHT -->

	
	<div id="height"><div id="textbox_1"><select id="language" name="language" size="1"><option value="es">es</option><option value="ca">ca</option><option value="en">en</option></select></div></div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_a_home" name="chkbx_a_home" value=0 checked> Inicio</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_customers" name="chkbx_customers" value=1> Clientes</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_domains" name="chkbx_domains" value=2> Dominios</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_bills" name="chkbx_bills" value=3> Facturación</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_user_permissions" name="chkbx_user_permissions" value=4> Permisos Usuarios</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_groups" name="chkbx_groups" value=5> Grupos</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_contacts" name="chkbx_contacts" value=6> Contactos</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_mailing" name="chkbx_mailing" value=7> E-Mail a Grupos</div><!-- FIN HEIGHT --><div id="height"><input type="checkbox" id="chkbx_wiki" name="chkbx_wiki" value=8> Wiki</div><!-- FIN HEIGHT --></div><!-- FIN TEXTBOX -->

    <div id="buttons">
    	<input type="submit" id="Submit" name="Submit" value="Guardar"> 
    </div><!-- FIN BUTTONS -->
</form>
</body>
</html>
A ver si alguien le ha pasado algo tan misterioso como esto y me puede echar un cable.

Gracias
Laufwerk está desconectado   Responder Citando
Respuesta

No hay votos aún.


Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

BB code is Activado
Caritas están Activado
[IMG] está Activado
Código HTML está Desactivado


La Zona horaria es GMT -6. Ahora son las 22:23.


Message Board Statistics

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93