Aug 24, 2020 in JavaScript
Q: Can we create Cookie in Javascript if yes then how to create that?

1 Answer

0 votes
Aug 24, 2020

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
Jul 16, 2019 in JavaScript
+1 vote
Jun 25 in Redux
...