Answer the question
In order to leave comments, you need to log in
Is it possible to unload an element and store it in a cookie?
I unload a div-element on the main page of the site, which contains an important notification for the user. The server can be contacted no more than 2 times per minute, otherwise the user will receive an IP block.
I use the code:
$('#push-add').load('/lk.html #push');
Tell me how to limit the number of downloads of this script and at the same time save the downloaded element in #push-add on the page?
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