10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
suman goud
1.9k
176
43.5k
How to save clicked value in session using jquery
Jul 21 2016 2:11 AM
when i click tree view node am getting id by giving alert
$('.treeview a').on('click', function () {
alert(this.id);
});
but how to save that id session , i want to use in controller
i have tried this
$('.treeview a').on('click', function () {
@Session["id"]=this.id;
});
but am not getting value
Reply
Answers (
6
)
Page auto-refresh not working in server
ITextSharp PDF in MVC