suman goud

suman goud

  • NA
  • 176
  • 53.6k

How to save selected tree view node id in action link

Jul 22 2016 3:25 AM
How to save selected tree view node id in action link  using jquery
 i have tried
 
 
$(".treeview a").on("click", function () {
$.ajax({
url: '@Url.Action("GetTreeViewID", "Treeview", new { Eid=Model.FirstOrDefault().EmpID})'
});
});
 
am getting first treeview node id, if i remove firstofdefault am getting error 
 
but how to save selected node id in Eid 

Answers (1)