Ver Mensaje Individual
  #7 (permalink)  
Antiguo 16/12/2009, 18:30
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: Problema con Jquery al cargar en el mismo div

Cita:
jQuery("#productos a").each(function(){
var href = jQuery(this).attr("href");
jQuery(this).attr({ href: "#"});
jQuery(this).click(function(){
jQuery("#contenido").load(href);
return false
});
Perdon, dije mal. Estas almacenando el atributo href en una variable llamada href. Ok.

Voy a pensar en otra cosa. Tu script parece perfecto. Que dice el html?