The "onClick JS event" field is an advanced feature that allows website owners to add JavaScript code that can be triggered when an element is mouse-clicked.
Here's how to add JavaScript code to the "onClick JS event" field:
Select an element by clicking on it;
Choose "Advanced" category in right toolbar;
Write desired JavaScript code in "onClick JS event" field;
Publish website to apply added changes.
Was this article helpful?
Thanks for your feedback!
More in “02. Website creation”56 other articles in this category