Forums - C# Corner

Forum guidelines
Nilesh Patil

Nilesh Patil

  • 536
  • 2.9k
  • 28.2k

Please help in Ajax call

Jul 10 2018 4:23 AM
Hi All,
 
In my ajax call success i am pass data as an object list pass it to the id
 
like this
 
success: function (data)
{
var list = data;
$.each(list, function (index, item) {
$.fn.zTree.init($("#directoryTree"), setting, item);
})
}
 
But in that item display only last entry but i want all the entries
 
its urgent please help

Answers (4)