Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/02/2012, 10:23
Avatar de shake2427
shake2427
 
Fecha de Ingreso: julio-2011
Mensajes: 116
Antigüedad: 12 años, 9 meses
Puntos: 3
mandar valores por ajax

buenas

como puedo mandar por ajax lo que me devuelve esta funcion

Código Javascript:
Ver original
  1. function getsales()
  2.     {
  3. $.fn.getCheckboxValues = function(){
  4.         var values = [];
  5.         var i = 0;
  6.         this.each(function(){
  7.            
  8.        values[i++] = $(this).val();
  9.  
  10.         });
  11.  
  12.         return values;
  13.     }
  14.     var arr = $("input:checked").getCheckboxValues();
  15.    
  16.     }

gracias