I have try this code for set value in TempData.But i have face a issue
$(document).ready(function () {
debugger;
$('li').on('click', function () {
var id = $(this).attr('id');
TempData["CID"] = id;----Unexpected token =
});
});
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rijwan AnsariPosted Apr 18, 2021, 5:13 PM
Sourabh DhimanPosted Apr 18, 2021, 4:35 PM
Rijwan AnsariPosted Apr 18, 2021, 1:32 PM
Satya KarkiPosted Apr 18, 2021, 9:48 AM
Hiesh KidechaPosted Apr 18, 2021, 6:05 AM
Salman BegPosted Apr 18, 2021, 5:41 AM
Jignesh KumarPosted Apr 18, 2021, 3:48 AM