JS code problem. Error jQuery
-
Hello.
I have a problem. I am using a little custom code in JS and since the last update it has stopped working. I think it is due to jQuery migrate but I don’t know how I can fix it. I have this code inserted in the JS section that has the theme itself enabled to introduce custom code. I would appreciate if someone can help me by writing down an answer. How can I solve this problem? What can I do to make everything work correctly again? Thanks everyone in advance.
The current code I use is the following:
jQuery(document).on('click', 'div.customclass', function (event) { event.preventDefault(); jQuery('.registrogratis').slideToggle(); });
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘JS code problem. Error jQuery’ is closed to new replies.