Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Cardinal
  • #244060
    makhgari
    Member
    Post count: 9

    Hi

    how can i add onclick attribute to a button ?

    #244090
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please add a extra class named onclk and use the code like this.

    jQuery( document ).ready(function($) {
       $( "a.onclk" ).click(function() {
     //place your code after on click.
    });
    });

    Thanks
    Mohammad

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register