• Resolved Amy

    (@germanpearls)


    Can I use the maxbuttons to call a javascript function? If so, how would I call it using the shortcode?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    Yes you can. In the URL field you can prepend javascript: and then the function you want to call:

    javascript:myFunction();

    or directly from the shortcode:

    [maxbutton id=1 url=”javascript:myFunction();”]

    Thread Starter Amy

    (@germanpearls)

    Perfect – thanks!

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

The topic ‘Can I Call a Java Function from Button?’ is closed to new replies.