Answer the question
In order to leave comments, you need to log in
How to solve modal window call in UIkit 3 on JS?
Hello, I'm trying to call a modal window
Everything is fine, but when I try to call a window on document.ready, I get the following
UIkit.modal("#modal").show();
Uncaught TypeError: Cannot read property 'css' of undefined
Answer the question
In order to leave comments, you need to log in
function showModal() {
UIkit.modal("#modal").show();
}
setTimeout(showModal, 1000);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question