0 votes
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

+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
0 votes
asked Nov 17, 2020 in JQuery by rajeshsharma
...