Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/05/2013, 23:22
Avatar de RichBoy
RichBoy
 
Fecha de Ingreso: agosto-2010
Mensajes: 177
Antigüedad: 13 años, 9 meses
Puntos: 7
Pasar codigo jquery a javascript

Hola,
como podria hacer este codigo pero en javascript, sin tener que usar jquery?

Código Javascript:
Ver original
  1. $(function(){
  2.         $('#botonuno').click(function() {
  3.           FB.ui(
  4.             {
  5.               method : 'feed',
  6.               link   : $(this).attr('datos')
  7.             },
  8.             function (response) {
  9.               if (response != null) {
  10.                 logResponse(response);
  11.               }
  12.             }
  13.           );
  14.         });