in JavaScript by
Can we create Cookie in Javascript if yes then how to create that?

1 Answer

0 votes
by

Yes, we can create that we can even create, read, update and also delete the cookie by using "document.cookie" property. And below is the syntax to create a cookie:-

document.cookie="name=value";

And below is the example to handle and create cookie

And below is the example to handle and create cookie



Javascript Cookie

Related questions

0 votes
asked Jul 16, 2019 in JavaScript by Indian
0 votes
0 votes
asked Feb 22, 2020 in NoSQL by SakshiSharma
0 votes
asked Nov 17, 2020 in JQuery by rajeshsharma
...