Javascript function for Custom buttons

Eric Moore created the topic: Javascript function for Custom buttons

When I specify the onclick function of the custom button, can call a function defined in a javascript file that I added to the page on which the form is displayed via wp_enqueue_script?

#70398

Please Log in or Create an account to join the conversation.


Agapi G. replied the topic: Javascript function for Custom buttons

Hi Eric! Thank you for posting your question!

Please be informed, that you can call a function in your Javascript file. But you need to make sure, that this file, where the function is written, is included in the page, where your slider is.

Thank you! Have a wonderful start of the week!


Kind regards,
Agapi G.
Web-Dorado team
#70446

Please Log in or Create an account to join the conversation.


Time to create page: 0.149 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us