How do I use click event on tags that have data-bs-toggle? #33272
Unanswered
tguimmaraess
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if someone else is running into this same issue, but it seems like onclick/click event doesn't work when I have data-bs-toggle in a, let's say,
<div>
for example.This don't work:
But this works:
Is there anyway to access the
click
event with javascript and keepdata-bs-toggle="dropdown"
?Beta Was this translation helpful? Give feedback.
All reactions