• Resolved eduardonie

    (@eduardonie)


    How to perform button triggered function on certain page without being redirected to “https://url/wp-admin/admin.php” ?
    Eg:

    <script>
    $(“#btn”).click(function() {
    //code
    alert(“ABC!”);
    });
    </script>
    <button id=”btn” class=”PageButton”>Test</button>

    • This topic was modified 3 years, 1 month ago by eduardonie.
Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @eduardonie

    The button controls include the “onclick” event. So, you should insert a button field in the form and enter the piece of code alert("ABC!"); into its “onclick event” attribute.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Button triggered function’ is closed to new replies.