Thursday, June 2, 2016

How to create an HTML button that acts like a link?

    // PrintBtn
    $('#PrintBtn').on('click', function(event){
      event.preventDefault();

      window.location.href = 'customprotocol:Hello World';
    });

No comments: