Pointer Event Disable anchor tag

I have to disable the link on a li but it should not be disabled all events just disable the link and it will be clickable so i can use hide and show menu function on it

#menu-item-747 {
pointer-events: none;
cursor: default;
I have used jquery on this li to hide and show other li and on this li a link is used for another page, I just want to disable link and it will be still clickable to run jquery toggle

Source: wordpress

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.