A
A
Anton89892016-07-03 15:11:55
JavaScript
Anton8989, 2016-07-03 15:11:55

What would you recommend to make removeClass and addClass work in firefox?

This construction $('li.active').removeClass('active'); does not work.
$(this).addClass('active');

i.e. the active class is not removed and the active class is not added. There are no problems in other browsers, the problem is only with firefox, but the task needs to be done only on mozilla. Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton8989, 2016-07-03
@Anton8989

Everything worked, just a newer version of jQuery had to be connected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question