0
Q:

how to get event from click function


   $("p").click(function(){
    $(this).fadeOut();
  });

 $('a.pagerlink').click(function() { 
        var id = $(this).attr('id');
        $container.cycle(id); 
        return false; 
    }); 
1
//Click for event to trigger

$( "#target" ).click(function() {
  alert( "Handler for .click() called." );
});
1
$( "#target" ).click(function() {
  alert( "Handler for .click() called." );
});
-1
$( "#other" ).click(function() {
  $( "#target" ).click();
});
0

New to Communities?

Join the community