• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
O
O
offsiderst2021-06-08 17:16:34
JavaScript
offsiderst, 2021-06-08 17:16:34

How to set a cookie (for a year) after clicking a button?

https://jsfiddle.net/vz8s7jwe/2/

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
S
Sergey Sokolov, 2021-06-08
@offsiderst

document.cookie

Similar questions
S
Sergey2015-03-27 10:22:55
Cookie counter junk in Chrome, how to cure? 2Reply
A
AlexCruel2021-03-20 18:57:19
Is it necessary to create a separate GA for a site's sub-domain? 2Reply
R
Ramzich2022-01-21 22:05:00
Hello everyone, how can I implement a POST/search method that returns data from a Json file with a delay of 60 seconds for example? 3Reply
N
nezzard2018-11-23 23:49:57
How to diversify Perlin noise? 2Reply
P
Pavel Kolosov2016-06-27 16:40:09
What are the ways to minimize traffic loss when the site crashes and downtime? 4Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners