Jump to content

Problem with line code


Canfo

Recommended Posts

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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...