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
Bikesh SrivastavaPosted Jul 21, 2016, 3:49 AM
Ravi PatelPosted Jul 21, 2016, 3:32 AM
suman goudPosted Jul 21, 2016, 2:43 AM
Gouri ShankarPosted Jul 21, 2016, 2:40 AM
if your button is like this
Then change the selector like this
$(“input”).click(function() {
Alert(this.id);
});
suman goudPosted Jul 21, 2016, 2:21 AM
Gouri ShankarPosted Jul 21, 2016, 2:19 AM