
Ayuda!!! Problema con sencillo script
Publicado por Nicolas (6 intervenciones) el 17/12/2013 12:51:23
hola, estoy dando unos pasos en jquery, pero tengo un problema, ke antes no lo tenia...
al hacer click en el input type="button" con id="btn-enviar", el #resultado, no se muestra.... no le encuentro la solucion...
Agradeceria su ayuda.
al hacer click en el input type="button" con id="btn-enviar", el #resultado, no se muestra.... no le encuentro la solucion...
Agradeceria su ayuda.
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Consultas, diseño web, diseño grafico, nixelart</title>
<meta name="viewport" content="width=device-width">
<!-- movil -->
<link href="css/movil.css" rel="stylesheet" type="text/css" media="only screen and (max-width:480px)"/>
<!-- tablet -->
<link href="css/tablet.css" rel="stylesheet" type="text/css" media="only screen and (min-width:481px) and (max-width:768px)"/>
<!-- desktop -->
<link href="css/pc.css" rel="stylesheet" type="text/css" media="only screen and (min-width:769px)"/>
<script type="text/javascript" src="js/jquery-1.9.0.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#resultado').hide("slow");
$('#btn-enviar').click(function() {
$('#resultado').show();
});
});
</script>
</head>
<body>
<div id="caja-logo">
<header>
<a href="index.php"><img src="img/logo.png" width="324" height="58" alt="Diseño-Gradico-Nixelart"></a>
</header>
</div>
<?php include("menu.php"); ?>
<div class="contenido">
<h1 class="titulo">Consultas</h1>
<article id="consulta">
<div id="consul-izq">
<img src="img/nicolas_herenu.jpg" alt="Nicolas Hereñu-Nixelart"id="yo" >
<p>Hola!!! Soy <b><span>Nicolás Hereñú</span></b>, Soy de <b>Paraná</b>, <b>Entre Ríos</b>.<br> Me gusta mucho el <b><span>diseño gráfico<span></b> y el <b><span>desarrollo de sitios web</span></b>, desde el año 2012 trabajo como freelance en Paraná haciendo lo que me gusta y satisfaciendo sus necesidades gráficas.<br></p>
<h3>Experiencias</h3>
<div>
<img src="img/barra-estudio.png" width="90%" height="192">
</div>
</div>
<div id="consul-der">
<h3>Deja tu consulta</h3>
<form id="formulario" method="post">
<label><span>Nombre:</span></label>
<input type="text" name="nombre" id="nombre" required/>
<label><span>Email:</span></label>
<input type="email" name="email" id="email" required/>
<label><span>Consulta:</span></label>
<textarea cols="50" rows="7" name="mensaje" id="mensaje" required></textarea>
<input name="Botón" type="button" id="btn-enviar" value="Botón">
<div id="resultado"><img id="loader" src="img/loader.gif"/> Enviando su Mensaje...</div>
</form>
</div>
</article>
</div>
<footer>
<?php include("menu-pie.php"); ?>
</footer>
</body>
</html>
Valora esta pregunta


0