Answer the question
In order to leave comments, you need to log in
How to make a div (notification with a button) close temporarily or completely close?
I want to make a notification so that it closes for a while or forever, so that when the page is updated \ switching to another and back, this notification does not appear. Here is the code, it would be desirable to do so that if the user is registered, then there was no notification, can you help somehow?
/**
* Закрытие уведомления
*/
$(document).ready(function(){
$('body').on('click', '.close-me-button', function(){
$(this).hide();
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question