Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1410331
    ermitag
    Participant

    Hi

    How to link button to onclick function?

    #1410337
    ermitag
    Participant
    This reply has been marked as private.
    #1410339
    ermitag
    Participant

    It have class help-button

    #1410345
    ermitag
    Participant
    This reply has been marked as private.
    #1410863
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    You can add this code to Admin > Appearance > Customizer > Custom > Javascript

    jQuery( '.help-button' ).on('click', function(e){ e.preventDefault(); supportAPI.openSupport(); } );

    Hope this helps.

    #1411536
    ermitag
    Participant

    Thank you very much!

    #1411951
    Rue Nel
    Moderator

    You’re welcome!
    Thanks for letting us know that it has worked for you.

  • <script> jQuery(function($){ $("#no-reply-1410331 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>