A
A
Aleks Kirilov2020-01-30 20:40:09
css
Aleks Kirilov, 2020-01-30 20:40:09

Gives an error what to do?

$('.mobile-tab').hide();

$('#burg').on('click', function() {
$('.mobile-tab').slideToggle();
})

throws this
Uncaught TypeError: $(...).slideToggle is not a function
at HTMLDivElement. (script.js:4)
at HTMLDivElement.dispatch (jquery-3.2.1.slim.min.js:3)
at HTMLDivElement.q.handle (jquery-3.2.1.slim.min.js:3)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2020-01-30
@anton12333

$('.mobile-tab').hide();

$('#burg').on('click', function() {
$('.mobile-tab').show();
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question