Hi,
I’m hoping someone might be able to provide some direction for me regarding a solution to a jquery question.
On this page, https://www.whiskerlabs.com/services-dev/, I want to trigger a different jquery event when each of the tabs (sensor, dashboard and engage) are selected. Right now I am just trying to get those tabs to trigger any event at all.
I have the below code on the page in a code block. However, when i select the “dashboard” tab, the event is not triggered. I am, however, able to fire events on other elements on the page, just not with any of the tabs. For the tabs, I’ve tried targeting the ID of the tab (#dashboard) and the class (.tab_counter_1) to no avail. Is there a conflict b/w my jquery and the tabs element?
Any thoughts would be greatly appreciated.
thnx!
<script>
$(document).ready(function(){
$(“.tab_counter_1”).click(function(){
alert(“Hello”);
});
});
</script>
Hey waxingmedia,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis
Thanks, Basillis
I figured as much. no worries. I’m going to rebuild those tabs for that page. thanks for the reply!