-
|
Hi, Please help me: |
Beta Was this translation helpful? Give feedback.
Answered by
dfsmania
Jul 24, 2022
Replies: 1 comment 1 reply
-
|
You may use document.getElementById("theItemId").addEventListener("click", function(event)
{
// You can prevent the default click behaviour uncommenting next line.
// event.preventDefault()
// Then, implement your logic to handle the click event on the item.
// ...
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dirkieman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may use
Javascript. The next example assumes you have assigned anidto the mentioned item on the left navbar: