Adding custom javascript functions


We are working on the tab component of our site and we are trying to implement a condition to show the tabs using our own Javascript function but it look like the event onclick of the element that is created by webflow is not active.

Here is the code.

<a class="w-tab-link w-inline-block tablink" data-w-tab="Tab 5" onclick="ViewMemories(1);">

Hi @malcolmdomecq ,

Can you please update your post with some more information so we can help you faster? Things like screenshots and your environment info really speed things up.

Posting guidelines can be found here: Posting Guidelines for the Design Help Category

Thanks in advance! :slight_smile:

PS - you can add custom jquery in the custom code area. For more information on this, please refer to this article:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.