Topic: Navbar click event not working.

ugnicholas pro asked 6 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!");
});


Jakub Strebeyko staff commented 6 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


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags