Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/02/2011, 17:50
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 4 meses
Puntos: 845
Respuesta: Ayuda con AJAX y prototip

Que tal Vendetta, lo probaste y te dio algún error ?, porque en teoria seria seleccionar los elementos, agregarles el tooltip y que el ajax tenga por respuesta el html correspondiente, algo así:

Código Javascript:
Ver original
  1. document.observe('dom:loaded', function() {
  2.    $$('.selector').each(function(el, i){
  3.         new Tip(el, {
  4.             ajax: {
  5.                 url: '/include/ajax.php?id=' + el.value,
  6.                 options: {
  7.                     onComplete: function() { alert('ajax content loaded'); }
  8.                 }
  9.             }
  10.         });
  11.     });
  12. });

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)