Ver Mensaje Individual
  #14 (permalink)  
Antiguo 25/05/2011, 12:58
pach
 
Fecha de Ingreso: febrero-2008
Mensajes: 27
Antigüedad: 16 años, 2 meses
Puntos: 1
Respuesta: .load() carga pagina en un div pero no el javascript

Prueba esto:

$(document).ready(function() {
$.ajaxSetup({
cache: false,
dataType: "html"
});
$("#enlace").click(function(event){
$('#contenido').load('pagina.php #main');
});
});