Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/09/2014, 05:12
PabloManuel
 
Fecha de Ingreso: diciembre-2010
Mensajes: 236
Antigüedad: 13 años, 5 meses
Puntos: 6
Respuesta: Problema con Ajax y Jquery al cargar HTML asíncrono.

Así, tampoco.

Código Javascript:
Ver original
  1. <script>
  2.             function edit_registro(id){
  3.                 //hay que pasarle la carpeta y el nombre del fichero
  4.                 //y a través de opción saber si recargar fotos noticia o fotos de galería.
  5.                 event.preventDefault();
  6.                 muestra_oculta('form_registro');
  7.                 respuesta_ajax('admin_noticias_ajax.asp', '?proceso=editregistro&id=' + id, 'form_registro', function(){
  8.                     $('#tabsjquery1').easyResponsiveTabs(
  9.                         {
  10.                             type: 'default', //Types: default, vertical, accordion          
  11.                             width: 'auto', //auto or any width like 600px
  12.                             fit: true,   // 100% fit in a container
  13.                             closed: 'accordion', // Start closed if in accordion view
  14.                             activate: function(event) {  }// Callback function if tab is switched                            
  15.                         });
  16.                 });
  17.             }
  18.         </script>