Topic: Navbar click event not working.
ugnicholas pro asked 7 years ago
When i click on a menu item on the nav bar i want to fire an event using jquery but nothing happens.please help me.i have jquery version of MDBootstrap.this is my code:
$("#servicebutton").click(function () {
console.log("I was launched via jQuery!");
});
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Jakub Strebeyko staff commented 7 years ago
Hi there ugnicholas, Thanks for reaching out! There's nothing wrong with your code. Are you getting any error messages in DevTool's console? With Best Regards, Kuba