How to set multiple value in cookies single li click
this is my code
@foreach (var category in Model)
{
}
$(document).ready(function () {
$(".category-list li").on("click", function () {
debugger;
var CategoryId = this.id;
Cookies.set('CategoryId', CategoryId);
var Title = this.title;
Cookies.set('Titile', Title);
});
});

Sachin SinghRank #66 · 26.2K reputationPosted May 12, 2021, 2:26 AM EDT