$(selector).methodOrFunction();

#Example:

$('#menu').on('click', () =>{
  $(this).hide();  
});
$("body").css("background", "red");
Comments