butonc click jquery

JavaScript
 $('h1').click(function () {
        $(this).css('color', 'blue')
    });$("p").click(function(){
    alert("The paragraph was clicked.");
}); $(document).on('click',".any_user_logout",function(){
  signOut()
  window.location.href = '/logout'
})

function signOut() {
    var auth2 = gapi.auth2.getAuthInstance();
    auth2.signOut().then(function () {

    });
  }
Source

Also in JavaScript: