Canfo
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Canfo
-
-
Hi I have a problem with this code on the 15 line and I don´t have idea why:<script type="text/javascript">$(document).ready(function(){$("#contenido a").each(function(){var href = $(this).attr("href");$(this).attr({ href: "#"});$(this).click(function(event){$("#contenido").css("display","none"); /* "contenido" no se ve */$("#cargando").css("display", "inline");/* "cargando" es visible */$("#contenido").load(href).fadeIn(700);/* cargamos la página solicitada*/$("#cargando").css("display", "none");/* "cargando" es invisible */});}); <-- LINE 15 -->});</script>thanks
Problem with line code
in JavaScript
Posted
I resolve the problem, I have this code on a .js file and when you have this you haven´t put tags <script>, that was the problem, thank you for your help